forked from hirosystems/explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
33 lines (33 loc) · 862 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = {
extends: [
'@stacks/eslint-config',
'plugin:react-hooks/recommended',
'plugin:storybook/recommended',
],
plugins: ['react', 'react-hooks'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
},
env: {
browser: true,
node: true,
es6: true,
},
globals: {
page: true,
browser: true,
context: true,
jestPuppeteer: true,
},
rules: {
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/restrict-template-expressions': 0,
'react-hooks/rules-of-hooks': 'error',
'import/newline-after-import': ['error', { count: 1 }],
'@typescript-eslint/no-non-null-assertion': 'off',
},
};