Skip to content

Commit f7384ad

Browse files
authored
Fix: support eslint v6 (#172)
* Fix: support eslint v6 refs: #95 (comment) * chore: simplify eslint config
1 parent f9b5321 commit f7384ad

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.eslintrc.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ module.exports = {
55
plugins: ['node'],
66
extends: [
77
'not-an-aardvark/node',
8-
'plugin:node/recommended',
98
'plugin:unicorn/recommended',
9+
'plugin:node/recommended',
1010
],
11-
parserOptions: {
12-
ecmaVersion: 2021,
13-
sourceType: 'script',
14-
},
1511
rules: {
1612
'comma-dangle': [
1713
'error',

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"nyc": "^15.1.0"
5959
},
6060
"peerDependencies": {
61-
"eslint": "^7.0.0"
61+
"eslint": ">=6.0.0"
6262
},
6363
"engines": {
6464
"node": "^10.12.0 || >=12.0.0"

0 commit comments

Comments
 (0)