Skip to content

Commit

Permalink
Merge pull request #23 from hildjj/library-ref
Browse files Browse the repository at this point in the history
Add support for library_ref.
  • Loading branch information
hildjj authored Feb 16, 2024
2 parents 9007dc1 + 52d68b0 commit 918186b
Show file tree
Hide file tree
Showing 13 changed files with 1,926 additions and 3,318 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache: pnpm
- name: Install dependencies
run: npm install
run: pnpm install
- name: Check coding standards
if: matrix.node-version == '20.x' && matrix.os == 'ubuntu-latest'
run: npm run lint
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
coverage/
lib/
node_modules/
pnpm-lock.yaml
src/parser.js
test/fixtures/*.js
3 changes: 3 additions & 0 deletions .ncurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dep": ["optional", "peer", "prod", "dev", "packageManager"]
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ tsconfig.json
.mocharc.js
tools/
eslint.config.js
.ncurc
11 changes: 0 additions & 11 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use strict";
const mocha = require("eslint-plugin-mocha");

module.exports = [
{
Expand All @@ -24,14 +23,4 @@ module.exports = [
sourceType: "commonjs",
},
},
{
files: ["test/**/*.js"],
plugins: {
mocha,
},
rules: {
...mocha.configs.recommended.rules,
"mocha/no-mocha-arrows": "off",
},
},
];
Loading

0 comments on commit 918186b

Please sign in to comment.