forked from visgl/deck.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
34 lines (34 loc) · 869 Bytes
/
.eslintrc.js
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
29
30
31
32
33
34
// prettier-ignore
module.exports = {
plugins: ['react', 'import'],
extends: ['uber-jsx', 'uber-es2015', 'prettier', 'prettier/react', 'plugin:import/errors'],
overrides: [{
files: ['*.spec.js', 'webpack.config.js', '**/bundle/*.js'],
rules: {
'import/no-extraneous-dependencies': 0
}
}],
settings: {
'import/core-modules': [
'@luma.gl/core',
'@luma.gl/constants',
'math.gl',
'@math.gl/web-mercator'
],
react: {
version: 'detect'
}
},
rules: {
'guard-for-in': 0,
'no-inline-comments': 0,
camelcase: 0,
'react/forbid-prop-types': 0,
'react/no-deprecated': 0,
'import/no-unresolved': ['error', {ignore: ['test']}],
'import/no-extraneous-dependencies': ['error', {devDependencies: false, peerDependencies: true}]
},
parserOptions: {
ecmaVersion: 2018
}
};