Skip to content

Commit

Permalink
Fix: support eslint v6 (#172)
Browse files Browse the repository at this point in the history
* Fix: support eslint v6

refs: #95 (comment)

* chore: simplify eslint config
  • Loading branch information
aladdin-add authored Jul 29, 2021
1 parent f9b5321 commit f7384ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ module.exports = {
plugins: ['node'],
extends: [
'not-an-aardvark/node',
'plugin:node/recommended',
'plugin:unicorn/recommended',
'plugin:node/recommended',
],
parserOptions: {
ecmaVersion: 2021,
sourceType: 'script',
},
rules: {
'comma-dangle': [
'error',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"nyc": "^15.1.0"
},
"peerDependencies": {
"eslint": "^7.0.0"
"eslint": ">=6.0.0"
},
"engines": {
"node": "^10.12.0 || >=12.0.0"
Expand Down

0 comments on commit f7384ad

Please sign in to comment.