Skip to content

Commit

Permalink
Merge pull request #19 from BonnierNews/replace-eslint-plugin-node
Browse files Browse the repository at this point in the history
replaced eslint-plugin-node with eslint-plugin-n
  • Loading branch information
andolf authored Aug 16, 2022
2 parents a58d7a0 + a2d0b69 commit 072d1ba
Show file tree
Hide file tree
Showing 5 changed files with 564 additions and 513 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.0

- Replace `eslint-plugin-node` with `eslint-plugin-n` as the former is no longer maintained.

## 0.3.0

Added missing afterEachFeature & beforeEachFeature globals for `mocha-cakes-2`.
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const moduleConfig = {
node: true,
...(hasES2022Support ? { es2022: true } : { es6: true }),
},
plugins: [ "eslint-plugin-node", "import" ],
plugins: [ "eslint-plugin-n", "import" ],
};

const commonjsConfig = {
Expand All @@ -28,7 +28,7 @@ const commonjsConfig = {
node: true,
es6: true,
},
plugins: [ "eslint-plugin-node" ],
plugins: [ "eslint-plugin-n" ],
};

module.exports = {
Expand Down
Loading

0 comments on commit 072d1ba

Please sign in to comment.