Skip to content

Commit eb5e7d3

Browse files
authored
Merge branch 'master' into 178
2 parents 02a2c8f + 6705aa6 commit eb5e7d3

7 files changed

Lines changed: 14 additions & 19 deletions

File tree

‎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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-ava",
3-
"version": "7.1.0",
3+
"version": "8.0.0",
44
"description": "ESLint rules for AVA",
55
"license": "MIT",
66
"repository": "avajs/eslint-plugin-ava",
@@ -39,25 +39,25 @@
3939
"resolve-from": "^5.0.0"
4040
},
4141
"devDependencies": {
42-
"ava": "^2.0.0",
43-
"babel-eslint": "^10.0.1",
42+
"ava": "^2.3.0",
43+
"babel-eslint": "^10.0.2",
4444
"chalk": "^2.4.2",
45-
"del": "^4.1.1",
4645
"codecov": "^3.5.0",
47-
"eslint": "^6.0.0",
46+
"del": "^5.0.0",
47+
"eslint": "^6.2.0",
4848
"eslint-ava-rule-tester": "^3.0.0",
49-
"execa": "^1.0.0",
49+
"eslint-plugin-eslint-plugin": "2.1.0",
50+
"execa": "^2.0.4",
5051
"js-combinatorics": "^0.5.4",
5152
"listr": "^0.14.3",
52-
"eslint-plugin-eslint-plugin": "2.1.0",
5353
"nyc": "^14.1.1",
5454
"outdent": "^0.7.0",
5555
"pify": "^4.0.1",
5656
"tempy": "^0.3.0",
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": [
@@ -130,8 +130,3 @@ Enable it in your `package.json` with the `extends` option:
130130
See the [ESLint docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending config files.
131131

132132
**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).
133-
134-
135-
## License
136-
137-
MIT

‎rules/no-ignored-test-files.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const create = context => {
77
const filename = context.getFilename();
88
const [overrides] = context.options;
99

10-
if (filename === '<text>') {
10+
if (filename === '<input>' || filename === '<text>') {
1111
return {};
1212
}
1313

‎rules/no-import-test-files.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const create = context => {
99
const filename = context.getFilename();
1010
const [overrides] = context.options;
1111

12-
if (filename === '<text>') {
12+
if (filename === '<input>' || filename === '<text>') {
1313
return {};
1414
}
1515

‎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)