We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 557d769 commit 3738b6fCopy full SHA for 3738b6f
1 file changed
eslint.config.cjs
@@ -36,7 +36,7 @@ module.exports = [
36
'keyword-spacing': ['error'],
37
'require-atomic-updates': 0,
38
'linebreak-style': ['error', 'unix'],
39
- 'unicorn/prefer-node-protocol': ['error'],
+ 'unicorn/prefer-native-coercion': 'error',
40
'unicorn/template-indent': ['error'],
41
'import/extensions': ['error', 'ignorePackages'],
42
'no-restricted-syntax': ['error', 'IfStatement > ExpressionStatement > AssignmentExpression'],
@@ -48,7 +48,9 @@ module.exports = [
48
plugins: {
49
'@typescript-eslint': tsPlugin,
50
},
51
- parser: '@typescript-eslint/parser',
+ languageOptions: {
52
+ parser: '@typescript-eslint/parser',
53
+ },
54
rules: {
55
'no-unused-vars': 'off',
56
'@typescript-eslint/no-unused-vars': 'error',
0 commit comments