Skip to content

Commit 03b7047

Browse files
Ashna AryaAshna Arya
authored andcommitted
Fix lint
1 parent b9806ef commit 03b7047

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

clustering-map/.eslintrc.cjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
],
9+
ignorePatterns: ['dist', '.eslintrc.cjs'],
10+
parser: '@typescript-eslint/parser',
11+
parserOptions: {
12+
ecmaFeatures: {
13+
jsx: true,
14+
},
15+
},
16+
plugins: ['react-refresh'],
17+
rules: {
18+
'react-refresh/only-export-components': [
19+
'warn',
20+
{ allowConstantExport: true },
21+
],
22+
},
23+
}

0 commit comments

Comments
 (0)