forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
28 lines (28 loc) · 733 Bytes
/
.eslintrc.js
File metadata and controls
28 lines (28 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
extends: 'expensify',
parser: 'babel-eslint',
ignorePatterns: ['!.*', 'src/vendor', '.github/actions/**/index.js'],
rules: {
'react/jsx-filename-extension': [1, {extensions: ['.js']}],
'comma-dangle': ['error', 'always-multiline'],
},
plugins: ['detox'],
env: {
jest: true,
},
settings: {
'import/resolver': {
node: {
extensions: [
'.js',
'.website.js',
'.desktop.js',
'.native.js',
'.ios.js',
'.android.js',
'.config.js',
],
},
},
},
};