naise-pos-android-mobile/.eslintrc.js

31 lines
793 B
JavaScript
Raw Normal View History

2022-11-27 19:26:04 +07:00
module.exports = {
root: true,
extends: '@react-native-community',
plugins: ['import'],
2023-04-14 23:33:18 +07:00
rules: {
'prettier/prettier': ['error', {endOfLine: 'auto'}],
'react-native/no-inline-styles': 0,
},
2022-11-27 19:26:04 +07:00
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',
2022-12-04 12:32:55 +07:00
utilities: './src/utilities',
2023-04-14 23:33:18 +07:00
helpers: './src/helpers',
2022-11-27 19:26:04 +07:00
},
},
},
},
};