forked from maxscharwath/toonks-game
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
38 lines (38 loc) · 892 Bytes
/
.eslintrc.cjs
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
34
35
36
37
38
module.exports = {
settings: {
react: {
version: 'detect'
}
},
env: {
browser: true,
es2021: true
},
extends: [
'plugin:react/recommended',
'xo',
'plugin:storybook/recommended',
'plugin:tailwindcss/recommended'
],
overrides: [{
extends: ['xo-typescript'],
files: ['*.ts', '*.tsx']
}],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: ['react','tailwindcss'],
rules: {
'no-multi-assign': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/keyword-spacing': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-assigment': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'no-bitwise': 'off',
'new-cap': 'off',
'react/no-unknown-property': 'off',
}
};