1 | module.exports = {
|
2 | extends: ['@3fs/eslint-config/configs/react'],
|
3 | plugins: ['react-native'],
|
4 | env: {
|
5 | 'react-native/react-native': true
|
6 | },
|
7 | rules: {
|
8 | 'react-native/no-color-literals': 'error',
|
9 | 'react-native/no-inline-styles': 'error',
|
10 | 'react-native/no-raw-text': 'error',
|
11 | 'react-native/no-single-element-style-arrays': 'error',
|
12 | 'react-native/no-unused-styles': 'error',
|
13 | 'react-native/sort-styles': 'off',
|
14 | 'react-native/split-platform-components': 'error'
|
15 | }
|
16 | };
|