GraphQL works with Mongoose
This commit is contained in:
48
server/.eslintrc.json
Normal file
48
server/.eslintrc.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"plugins": [
|
||||
"babel"
|
||||
],
|
||||
"extends": [
|
||||
"eslint:recommended"
|
||||
],
|
||||
"rules": {
|
||||
"no-console": 0,
|
||||
"no-mixed-spaces-and-tabs": 1,
|
||||
"comma-dangle": 0,
|
||||
"no-unused-vars": 1,
|
||||
"eqeqeq": [
|
||||
2,
|
||||
"smart"
|
||||
],
|
||||
"no-useless-concat": 2,
|
||||
"default-case": 2,
|
||||
"no-self-compare": 2,
|
||||
"prefer-const": 2,
|
||||
"object-shorthand": 1,
|
||||
"array-callback-return": 2,
|
||||
"valid-typeof": 2,
|
||||
"arrow-body-style": 2,
|
||||
"require-await": 2,
|
||||
"react/prop-types": 0,
|
||||
"no-var": 2,
|
||||
"linebreak-style": [
|
||||
2,
|
||||
"unix"
|
||||
],
|
||||
"semi": [
|
||||
1,
|
||||
"always"
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2018,
|
||||
"ecmaFeatures": {
|
||||
"modules": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user