naise_pos_android/.eslintrc.js
2023-03-26 16:42:39 +07:00

30 lines
749 B
JavaScript

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',
assets: './src/assets',
components: './src/components',
constants: './src/constants',
navigations: './src/navigations',
reducers: './src/reducers',
scenes: './src/scenes',
services: './src/services',
store: './src/store',
'global-styles': './src/styles',
utils: './src/utils',
},
},
},
},
};