File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
exercises/concept/captains-log Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ // @ts -check
2+
3+ import config from '@exercism/eslint-config-javascript' ;
4+ import maintainersConfig from '@exercism/eslint-config-javascript/maintainers.mjs' ;
5+
6+ import globals from 'globals' ;
7+
8+ export default [
9+ ...config ,
10+ ...maintainersConfig ,
11+ {
12+ files : maintainersConfig [ 1 ] . files ,
13+ rules : {
14+ 'jest/expect-expect' : [ 'warn' , { assertFunctionNames : [ 'expect*' ] } ] ,
15+ } ,
16+ } ,
17+ {
18+ files : [ 'scripts/**/*.mjs' ] ,
19+ languageOptions : {
20+ globals : {
21+ ...globals . node ,
22+ } ,
23+ } ,
24+ } ,
25+ // <<inject-rules-here>>
26+ {
27+ ignores : [
28+ // # Protected or generated
29+ '/.appends/**/*' ,
30+ '/.github/**/*' ,
31+ '/.vscode/**/*' ,
32+
33+ // # Binaries
34+ '/bin/*' ,
35+
36+ // # Configuration
37+ '/config' ,
38+ '/babel.config.js' ,
39+
40+ // # Typings
41+ '/exercises/**/global.d.ts' ,
42+ '/exercises/**/env.d.ts' ,
43+ ] ,
44+ } ,
45+ ] ;
You can’t perform that action at this time.
0 commit comments