|
@@ -38,9 +38,19 @@ module.exports = {
|
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
|
|
|
|
|
|
// set 'warn' temporarily -- 2021.08.02 Yuki Takei
|
|
// set 'warn' temporarily -- 2021.08.02 Yuki Takei
|
|
|
- '@typescript-eslint/explicit-module-boundary-types': ['warn'],
|
|
|
|
|
'@typescript-eslint/no-use-before-define': ['warn'],
|
|
'@typescript-eslint/no-use-before-define': ['warn'],
|
|
|
'@typescript-eslint/no-this-alias': ['warn'],
|
|
'@typescript-eslint/no-this-alias': ['warn'],
|
|
|
'jest/no-done-callback': ['warn'],
|
|
'jest/no-done-callback': ['warn'],
|
|
|
},
|
|
},
|
|
|
|
|
+ overrides: [
|
|
|
|
|
+ {
|
|
|
|
|
+ // enable the rule specifically for TypeScript files
|
|
|
|
|
+ files: ['*.ts', '*.tsx'],
|
|
|
|
|
+ rules: {
|
|
|
|
|
+ // '@typescript-eslint/explicit-module-boundary-types': ['error'],
|
|
|
|
|
+ // set 'warn' temporarily -- 2022.07.25 Yuki Takei
|
|
|
|
|
+ '@typescript-eslint/explicit-module-boundary-types': ['warn'],
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
};
|
|
};
|