File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @fs/eslint-config-frontier-react" ,
3
- "version" : " 5 .0.2 " ,
3
+ "version" : " 6 .0.0-alpha.0 " ,
4
4
"description" : " A common ESLint configuration setup for frontier apps" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
39
39
"eslint-plugin-html" : " ^6.0.0" ,
40
40
"eslint-plugin-import" : " ^2.16.0" ,
41
41
"eslint-plugin-jest" : " ^23.0.4" ,
42
+ "eslint-plugin-jest-dom" : " ^2.1.0" ,
42
43
"eslint-plugin-jsdoc" : " ^18.0.1" ,
43
44
"eslint-plugin-json" : " ^2.0.1" ,
44
45
"eslint-plugin-jsx-a11y" : " ^6.1.2" ,
47
48
"eslint-plugin-prettier" : " ^3.0.0" ,
48
49
"eslint-plugin-react" : " ^7.16.0" ,
49
50
"eslint-plugin-react-hooks" : " ^3.0.0" ,
51
+ "eslint-plugin-testing-library" : " ^3.1.3" ,
50
52
"eslint-plugin-you-dont-need-lodash-underscore" : " ^6.10.0" ,
51
53
"prettier" : " ^1.15.3"
52
54
},
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ configsToCombine.forEach((config) => {
31
31
} )
32
32
33
33
fs . writeFileSync (
34
- path . join ( process . cwd ( ) , 'codeclimateEslintRulesv5 .js' ) ,
34
+ path . join ( process . cwd ( ) , 'codeclimateEslintRulesv6 .js' ) ,
35
35
`// THIS FILE IS AUTO-GENERATED. DO NOT MODIFY THIS FILE BY HAND
36
36
module.exports = ${ JSON . stringify ( codeclimateConfig , null , 2 ) } `
37
37
)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * We can't combine this into the jest.js file because codeclimate uses the jest.js configuration
3
+ * and codeclimate doesn't work with eslint-plugin-jest-dom and eslint-plugin-testing-library
4
+ **/
5
+ module . exports = {
6
+ extends : [ 'plugin:jest-dom/recommended' , 'plugin:testing-library/react' ] ,
7
+ }
You can’t perform that action at this time.
0 commit comments