-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.eslintrc.js
More file actions
21 lines (21 loc) · 706 Bytes
/
.eslintrc.js
File metadata and controls
21 lines (21 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
root: true,
rules: {
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/no-unused-vars': 'error',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-native/no-unused-styles': 'error',
// 'react-native/split-platform-components': 'warn',
'react-native/no-inline-styles': 'warn',
// 'react-native/no-color-literals': 'warn',
// 'react-native/no-raw-text': 'warn',
// 'react-native/no-single-element-style-arrays': 'warn',
'import/no-default-export': 'error',
},
plugins: ['react-native-globals', 'react-native'],
extends: ['universe/native'],
env: {
'react-native-globals/all': true,
},
}