@@ -5,6 +5,7 @@ module.exports = {
55 ecmaFeatures : {
66 jsx : true ,
77 } ,
8+ project : './tsconfig.json' ,
89 } ,
910 env : {
1011 browser : true ,
@@ -15,8 +16,7 @@ module.exports = {
1516 parser : '@typescript-eslint/parser' ,
1617 plugins : [ '@typescript-eslint' , 'import' ] ,
1718 extends : [
18- 'eslint-config-airbnb-base' ,
19- 'plugin:@typescript-eslint/recommended' ,
19+ 'airbnb-typescript/base' ,
2020 ] ,
2121 rules : {
2222 'no-nested-ternary' : [ 0 ] ,
@@ -27,19 +27,8 @@ module.exports = {
2727 'import/no-extraneous-dependencies' : [ 0 ] ,
2828 'consistent-return' : [ 0 ] ,
2929 'no-bitwise' : [ 0 ] ,
30+ '@typescript-eslint/no-use-before-define' : [ 0 ] ,
3031 'prefer-destructuring' : [ 2 , { array : false } ] ,
31- 'import/extensions' : [ 0 ] ,
32- '@typescript-eslint/ban-ts-comment' : [ 0 ] ,
33- '@typescript-eslint/explicit-module-boundary-types' : [ 0 ] ,
34- '@typescript-eslint/no-explicit-any' : [ 0 ] ,
35- '@typescript-eslint/no-non-null-assertion' : [ 0 ] ,
3632 'max-len' : [ 0 ] ,
3733 } ,
38- settings : {
39- 'import/resolver' : {
40- node : {
41- extensions : [ '.js' , '.jsx' , '.ts' , '.tsx' ] ,
42- } ,
43- } ,
44- } ,
4534} ;
0 commit comments