Skip to content

Commit 6bce418

Browse files
committed
Bump ecmaVersion
1 parent 44e38ed commit 6bce418

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
es6: true
1111
},
1212
parserOptions: {
13-
ecmaVersion: 2019,
13+
ecmaVersion: 2020,
1414
sourceType: 'module'
1515
},
1616
plugins: [

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"chalk": "^2.4.2",
4545
"codecov": "^3.5.0",
4646
"del": "^5.0.0",
47-
"eslint": "^6.0.0",
47+
"eslint": "^6.2.0",
4848
"eslint-ava-rule-tester": "^3.0.0",
4949
"eslint-plugin-eslint-plugin": "2.1.0",
5050
"execa": "^2.0.4",
@@ -57,7 +57,7 @@
5757
"xo": "^0.24.0"
5858
},
5959
"peerDependencies": {
60-
"eslint": ">=6"
60+
"eslint": ">=6.2.0"
6161
},
6262
"ava": {
6363
"files": [

readme.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Configure it in `package.json`.
2828
"es6": true
2929
},
3030
"parserOptions": {
31-
"ecmaVersion": 2019,
31+
"ecmaVersion": 2020,
3232
"sourceType": "module"
3333
},
3434
"plugins": [
@@ -128,8 +128,3 @@ Enable it in your `package.json` with the `extends` option:
128128
See the [ESLint docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending config files.
129129

130130
**Note**: This config will also enable the correct [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options) and [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments).
131-
132-
133-
## License
134-
135-
MIT

test/no-async-fn-without-await.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const header = 'const test = require(\'ava\');\n';
99
const ruleTesterOptions = [
1010
{
1111
parserOptions: {
12-
ecmaVersion: 2019
12+
ecmaVersion: 2020
1313
}
1414
}
1515
// Disabled for now because of `eslint-ava-rule-tester` problem

test/prefer-power-assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ruleTester = avaRuleTester(test, {
88
es6: true
99
},
1010
parserOptions: {
11-
ecmaVersion: 2019,
11+
ecmaVersion: 2020,
1212
sourceType: 'module'
1313
}
1414
});

0 commit comments

Comments
 (0)