Commit 5730f92 1 parent fb251f3 commit 5730f92 Copy full SHA for 5730f92
File tree 5 files changed +11
-5
lines changed
5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Install and test eslint-plugin-ava
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
paths-ignore :
8
8
- ' *.md'
20
20
with :
21
21
node-version : ${{ matrix.node-version }}
22
22
- run : npm install --no-audit
23
- - run : npm test
23
+ - run : npx c8 ava
24
24
- uses : codecov/codecov-action@v2
25
+ # `xo` can't work on ESLint 8 and Node.js 16 yet
26
+ - if : ${{ matrix.node-version == '^14.17' }}
27
+ run : npm install eslint@7 && npx xo
25
28
26
29
# FIXME: https://github.com/avajs/eslint-plugin-ava/issues/333
27
30
# integration:
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ function getTestModifierNames(node) {
180
180
return util . getTestModifiers ( node ) . map ( property => property . name ) ;
181
181
}
182
182
183
- module . exports = ( ) => { // eslint-disable-line eslint-plugin/prefer-object-rule
183
+ module . exports = ( ) => {
184
184
let isTestFile = false ;
185
185
let currentTestNode ;
186
186
Original file line number Diff line number Diff line change 44
44
"c8" : " ^7.7.3" ,
45
45
"chalk" : " ^4.1.1" ,
46
46
"del" : " ^6.0.0" ,
47
- "eslint" : " ^7.32.0 " ,
47
+ "eslint" : " ^8.0.1 " ,
48
48
"eslint-ava-rule-tester" : " ^4.0.0" ,
49
- "eslint-plugin-eslint-plugin" : " ^3.5.3 " ,
49
+ "eslint-plugin-eslint-plugin" : " ^4.0.1 " ,
50
50
"execa" : " ^5.1.1" ,
51
51
"listr" : " ^0.14.3" ,
52
52
"outdent" : " ^0.8.0" ,
82
82
"ava/no-ignored-test-files" : " off" ,
83
83
"eslint-plugin/prefer-message-ids" : " off" ,
84
84
"eslint-plugin/require-meta-docs-description" : " off" ,
85
+ "eslint-plugin/require-meta-has-suggestions" : " off" ,
85
86
"import/extensions" : " off" ,
86
87
"unicorn/prefer-module" : " off"
87
88
}
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ module.exports = {
37
37
url : util . getDocsUrl ( __filename ) ,
38
38
} ,
39
39
fixable : 'code' ,
40
+ hasSuggestions : true ,
40
41
schema : [ ] ,
41
42
} ,
42
43
} ;
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ module.exports = {
37
37
url : util . getDocsUrl ( __filename ) ,
38
38
} ,
39
39
fixable : 'code' ,
40
+ hasSuggestions : true ,
40
41
schema : [ ] ,
41
42
} ,
42
43
} ;
You can’t perform that action at this time.
0 commit comments