Skip to content

Commit 3738b6f

Browse files
committed
Eslint config update
1 parent 557d769 commit 3738b6f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

eslint.config.cjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = [
3636
'keyword-spacing': ['error'],
3737
'require-atomic-updates': 0,
3838
'linebreak-style': ['error', 'unix'],
39-
'unicorn/prefer-node-protocol': ['error'],
39+
'unicorn/prefer-native-coercion': 'error',
4040
'unicorn/template-indent': ['error'],
4141
'import/extensions': ['error', 'ignorePackages'],
4242
'no-restricted-syntax': ['error', 'IfStatement > ExpressionStatement > AssignmentExpression'],
@@ -48,7 +48,9 @@ module.exports = [
4848
plugins: {
4949
'@typescript-eslint': tsPlugin,
5050
},
51-
parser: '@typescript-eslint/parser',
51+
languageOptions: {
52+
parser: '@typescript-eslint/parser',
53+
},
5254
rules: {
5355
'no-unused-vars': 'off',
5456
'@typescript-eslint/no-unused-vars': 'error',

0 commit comments

Comments
 (0)