Skip to content

Commit

Permalink
Add support for library_ref. Switch to pnpm. Pick up latest eslint-co…
Browse files Browse the repository at this point in the history
…nfig change for mocha.
  • Loading branch information
hildjj committed Feb 16, 2024
1 parent 9007dc1 commit 6f54af6
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 3,317 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
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 6f54af6

Please sign in to comment.