File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change 11module . exports = {
2- extends : [
3- require . resolve ( 'amper-scripts/config/eslint' ) ,
4- 'plugin:@typescript-eslint/recommended' ,
5- 'prettier/@typescript-eslint' ,
6- 'plugin:prettier/recommended'
7- ] ,
8- parser : '@typescript-eslint/parser' ,
9- plugins : [ '@typescript-eslint' ] ,
10- root : true ,
11- rules : {
12- '@typescript-eslint/explicit-function-return-type' : [ 'off' ] ,
13- '@typescript-eslint/explicit-module-boundary-types' : [ 'off' ] ,
14- '@typescript-eslint/no-empty-function' : 'off' ,
15- '@typescript-eslint/no-empty-interface' : [
16- 'error' ,
17- { allowSingleExtends : true }
18- ] ,
19- '@typescript-eslint/no-explicit-any' : 'off'
20- } ,
21- overrides : [
22- {
23- files : [ '*.ts' , '*.tsx' ] ,
24- rules : {
25- // Turn off rules that TypeScript ESLint handles
26- 'no-undef' : 'off' ,
27- 'no-unused-vars' : 'off' ,
28- 'no-use-before-define' : 'off'
29- }
30- }
31- ]
2+ extends : [ require . resolve ( 'amper-scripts/config/eslint' ) ] ,
3+ root : true
324} ;
You can’t perform that action at this time.
0 commit comments