We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f631b07 + ed84398 commit 0bd7bd9Copy full SHA for 0bd7bd9
packages/eslint-config-react-ts/index.js
@@ -11,8 +11,6 @@ module.exports = {
11
{
12
extensions: ['.ts', '.tsx']
13
}
14
- ],
15
- 'no-use-before-define': 'off',
16
- '@typescript-eslint/no-use-before-define': 'error'
+ ]
17
18
};
packages/eslint-config-ts/index.js
@@ -8,6 +8,10 @@ module.exports = {
8
],
9
rules: {
10
'class-methods-use-this': 'warn',
- '@typescript-eslint/require-await': 'off'
+ '@typescript-eslint/require-await': 'off',
+ 'no-use-before-define': 'off',
+ '@typescript-eslint/no-use-before-define': 'error',
+ 'no-shadow': 'off',
+ '@typescript-eslint/no-shadow': ['error']
0 commit comments