Skip to content

Commit d6a8938

Browse files
committed
add globals & remove camelcase error
1 parent fb2cf53 commit d6a8938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ export default tseslint.config(
5656
globals: {
5757
JSX: true,
5858
require: true,
59-
module: true
59+
module: true,
60+
__dirname: true
6061
},
6162
},
6263
rules: {
@@ -79,7 +80,6 @@ export default tseslint.config(
7980
'@typescript-eslint/no-require-imports': 'off', // diabling until typescript rewrite
8081
'@typescript-eslint/no-shadow': 'error',
8182
'@typescript-eslint/no-use-before-define': 'error',
82-
camelcase: 'error',
8383
'no-underscore-dangle': 'off',
8484
'comma-dangle': ['error', 'always-multiline'],
8585
'comma-style': ['error', 'last'],

0 commit comments

Comments
 (0)