contact_app/.eslintrc.js

28 lines
677 B
JavaScript
Raw Permalink Normal View History

2023-06-07 09:06:58 +07:00
module.exports = {
root: true,
extends: '@react-native-community',
plugins: ['import'],
rules: {
'prettier/prettier': ['error', {endOfLine: 'auto'}],
'react-native/no-inline-styles': 0,
},
settings: {
'import/resolver': {
node: {
paths: ['src'],
alias: {
actions: './src/actions',
components: './src/components',
constants: './src/constants',
'global-styles': './src/styles',
reducers: './src/reducers',
scenes: './src/scenes',
store: './src/store',
utils: './src/utils',
navigations: './src/navigations',
},
},
},
},
};