forked from graphql-compose/graphql-compose-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 870 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
35
36
37
38
39
module.exports = {
env: {
node: true,
es6: true,
jest: true,
},
extends: ['airbnb-base', 'prettier'],
plugins: ['prettier'],
env: {
jasmine: true,
jest: true,
},
parser: 'babel-eslint',
rules: {
'import/no-unresolved': [2, { commonjs: true, amd: true }],
'no-underscore-dangle': 0,
'arrow-body-style': 0,
'import/no-extraneous-dependencies': 0,
'import/imports-first': 0,
'import/no-cycle': 0,
'no-console': 0,
'no-restricted-syntax': 0,
'global-require': 0,
'import/no-dynamic-require': 0,
'import/prefer-default-export': 0,
'no-use-before-define': 0,
'no-param-reassign': 0,
'func-names': 0,
'prettier/prettier': [
'error',
{
printWidth: 100,
singleQuote: true,
trailingComma: 'es5',
},
],
},
globals: { Class: true },
};