File tree Expand file tree Collapse file tree 3 files changed +323
-118
lines changed
Expand file tree Collapse file tree 3 files changed +323
-118
lines changed Original file line number Diff line number Diff line change 11const globals = require ( 'globals' ) ;
2+ const pluginJest = require ( 'eslint-plugin-jest' ) ;
3+ const pluginMocha = require ( 'eslint-plugin-mocha' ) ;
24
35module . exports = {
46 globals : {
57 ...Object . fromEntries ( Object . entries ( globals . browser ) . map ( ( [ key ] ) => [ key , 'off' ] ) ) ,
68 ...globals . node ,
79 ...globals . mocha ,
810 } ,
11+ plugins : {
12+ jest : pluginJest ,
13+ mocha : pluginMocha ,
14+ } ,
915 rules : {
1016 'constructor-super' : 'error' ,
1117 'for-direction' : 'error' ,
Original file line number Diff line number Diff line change 2020 "markdownlint" : " 0.31.1"
2121 },
2222 "devDependencies" : {
23- "eslint" : " ^9.9.1"
23+ "eslint" : " ^9.9.1" ,
24+ "eslint-plugin-jest" : " ^28.11.0" ,
25+ "eslint-plugin-mocha" : " ^10.5.0"
2426 },
2527 "keywords" : [
2628 " eslint" ,
You can’t perform that action at this time.
0 commit comments