mongoose-schema-to-graphql
Version:
Auto types generator for graphQL schema, based on your existed Mongoose schema. Check GitHub for description.
45 lines (44 loc) • 1.01 kB
Plain Text
{
"parser": "babel-eslint",
"plugins": [
"babel",
"flowtype"
],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
},
"extends": [
"airbnb",
"plugin:flowtype/recommended"
],
"rules": {
"func-names": 0,
"no-new": 0,
"arrow-body-style": 0,
"consistent-return": 0,
"no-console": 0,
"no-unused-expressions": 0,
"max-len": 0,
"class-methods-use-this": 0,
"no-bitwise": 0,
"no-undef": 0,
"no-inner-declarations": 0,
"global-require": 0,
"no-restricted-syntax": 0,
"no-return-assign": 0,
"no-param-reassign": 0,
"import/no-dynamic-require": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/no-extraneous-dependencies": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/href-no-hash": 0,
"babel/new-cap": 0,
"babel/no-invalid-this": 0,
"babel/semi": 1,
"spaced-comment": 0,
"flowtype/no-types-missing-file-annotation": 0
}
}