forked from calintamas/react-native-toast-message
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
27 lines (27 loc) · 697 Bytes
/
.eslintrc.js
File metadata and controls
27 lines (27 loc) · 697 Bytes
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
module.exports = {
root: true,
parser: 'babel-eslint',
extends: ['airbnb', 'prettier'],
plugins: ['react-hooks'],
globals: {
__DEV__: false,
fetch: false
},
rules: {
'import/no-extraneous-dependencies': 0,
'global-require': 0,
'react/prop-types': 0,
'react/jsx-closing-bracket-location': 0,
'react/jsx-props-no-spreading': 0,
'react/no-array-index-key': 0,
'react/sort-comp': 0,
'react-hooks/rules-of-hooks': 2,
'react-hooks/exhaustive-deps': 1,
'prefer-const': 0,
'no-underscore-dangle': 0,
'no-plusplus': 0,
'import/prefer-default-export': 0,
'class-methods-use-this': 0,
'react/jsx-filename-extension': 0
}
};