UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

69 lines (68 loc) 1.68 kB
{ "parser": "babel-eslint", "plugins": ["flowtype"], "extends": "airbnb-base", "env": { "node": true }, "globals": { "Class": true, "Generator": true, "$PropertyType": true, "Knex$Transaction": true, "Knex$QueryBuilder": true, "Knex$SchemaBuilder": true }, "settings": { "flowtype": { "onlyFilesWithFlowAnnotation": true } }, "parserOptions": { "ecmaVersion": 2017, "sourceType": "module", "ecmaFeatures": { "impliedStrict": true, "experimentalObjectRestSpread": true } }, "rules": { "strict": 0, "max-len": ["error", 80], "arrow-parens": 0, "comma-dangle": [2, "only-multiline"], "prefer-reflect": 2, "global-require": 0, "class-methods-use-this": 0, "no-restricted-syntax": [ "error", "ForInStatement", "LabeledStatement", "WithStatement" ], "import/order": ["warn", { "groups": [ "builtin", "external", "internal", "parent", "sibling", "index" ], "newlines-between": "always" }], "import/extensions": 0, "import/no-dynamic-require": 0, "import/prefer-default-export": 0, "flowtype/semi": 2, "flowtype/no-dupe-keys": 2, "flowtype/boolean-style": [2, "boolean"], "flowtype/generic-spacing": 2, "flowtype/define-flow-type": 0, "flowtype/space-after-type-colon": [2, "always"], "flowtype/space-before-type-colon": [2, "never"], "flowtype/union-intersection-spacing": [2, "always"], "flowtype/space-before-generic-bracket": [2, "never"], "flowtype/require-valid-file-annotation": [2, "always"] } }