rest-api-starter
Version:
Rest API starter kit.
469 lines • 7.08 kB
JSON
{
"env": {
"es6": true,
"node": true
},
"rules": {
"comma-dangle": [
"error",
"never"
],
"no-cond-assign": [
"error",
"always"
],
"no-console": [
"error"
],
"no-constant-condition": [
"error"
],
"no-control-regex": [
"warn"
],
"no-dupe-args": [
"error"
],
"no-dupe-keys": [
"error"
],
"no-empty": [
"warn"
],
"no-extra-parens": [
"error"
],
"no-extra-boolean-cast": [
"error"
],
"no-extra-semi": [
"error"
],
"no-func-assign": [
"error"
],
"no-inner-declarations": [
"error"
],
"no-invalid-regexp": [
"error"
],
"no-irregular-whitespace": [
"error"
],
"no-negated-in-lhs": [
"error"
],
"indent": [
"error",
4
],
"no-regex-spaces": [
"error"
],
"no-sparse-arrays": [
"error"
],
"no-unexpected-multiline": [
"error"
],
"no-obj-calls": [
"error"
],
"no-unreachable": [
"error"
],
"no-unsafe-finally": [
"error"
],
"use-isnan": [
"error"
],
"valid-typeof": [
"error"
],
"curly": [
"error",
"all"
],
"no-prototype-builtins": [
"error"
],
"no-else-return": [
"error"
],
"no-empty-function": [
"error"
],
"array-callback-return": [
"error"
],
"no-eval": [
"error"
],
"no-implied-eval": [
"error"
],
"no-loop-func": [
"error"
],
"no-extend-native": [
"error"
],
"no-iterator": [
"error"
],
"no-multi-str": [
"error"
],
"no-native-reassign": [
"error"
],
"no-new": [
"error"
],
"no-new-func": [
"error"
],
"no-new-wrappers": [
"error"
],
"no-octal": [
"error"
],
"no-octal-escape": [
"error"
],
"no-param-reassign": [
"error"
],
"no-proto": [
"error"
],
"no-redeclare": [
"error"
],
"no-return-assign": [
"error"
],
"no-self-assign": [
"error"
],
"no-self-compare": [
"error"
],
"no-sequences": [
"error"
],
"no-unmodified-loop-condition": [
"error"
],
"no-useless-concat": [
"error"
],
"init-declarations": [
"error",
"always"
],
"no-catch-shadow": [
"error"
],
"no-delete-var": [
"error"
],
"no-shadow": [
"error"
],
"no-shadow-restricted-names": [
"error"
],
"no-undef": [
"error"
],
"no-undef-init": [
"error"
],
"no-undefined": [
"error"
],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "next|response|request"
}
],
"no-use-before-define": [
"error"
],
"global-require": [
"error"
],
"no-mixed-requires": [
"error"
],
"no-useless-escape": [
"error"
],
"no-new-require": [
"error"
],
"no-path-concat": [
"error"
],
"no-process-env": [
"error"
],
"no-process-exit": [
"error"
],
"no-sync": [
"warn"
],
"comma-spacing": [
"error"
],
"comma-style": [
"error"
],
"computed-property-spacing": [
"error"
],
"array-bracket-spacing": [
"error"
],
"consistent-this": [
"error"
],
"eol-last": [
"error",
"unix"
],
"func-style": [
"error"
],
"block-spacing": [
"error"
],
"brace-style": [
"error"
],
"no-void": [
"error"
],
"no-warning-comments": [
"warn"
],
"key-spacing": [
"error"
],
"keyword-spacing": [
"error"
],
"lines-around-comment": [
"error"
],
"max-depth": [
"error"
],
"max-nested-callbacks": [
"error",
4
],
"max-statements-per-line": [
"error"
],
"no-with": [
"error"
],
"radix": [
"error",
"as-needed"
],
"no-negated-condition": [
"error"
],
"arrow-parens": [
"error",
"always"
],
"no-nested-ternary": [
"error"
],
"arrow-spacing": [
"error"
],
"no-confusing-arrow": [
"error"
],
"no-const-assign": [
"error"
],
"prefer-rest-params": [
"error"
],
"prefer-spread": [
"error"
],
"prefer-template": [
"error"
],
"no-duplicate-imports": [
"error"
],
"template-curly-spacing": [
"error"
],
"object-shorthand": [
"error",
"never"
],
"no-var": [
"error"
],
"prefer-const": [
"error"
],
"space-before-function-paren": [
"error",
"never"
],
"space-in-parens": [
"error",
"never"
],
"spaced-comment": [
"error",
"always"
],
"arrow-body-style": [
"error"
],
"one-var": [
"error",
"never"
],
"space-unary-ops": [
"error"
],
"space-infix-ops": [
"error"
],
"wrap-regex": [
"error"
],
"no-new-object": [
"error"
],
"no-spaced-func": [
"error"
],
"semi-spacing": [
"error"
],
"space-before-blocks": [
"error"
],
"no-trailing-spaces": [
"error"
],
"one-var-declaration-per-line": [
"error"
],
"quote-props": [
"error"
],
"no-unneeded-ternary": [
"error"
],
"no-whitespace-before-property": [
"error"
],
"object-curly-spacing": [
"error"
],
"wrap-iife": [
"error",
"outside"
],
"yoda": [
"error"
],
"no-array-constructor": [
"error"
],
"no-bitwise": [
"error"
],
"no-lonely-if": [
"error"
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1,
"maxBOF": 0
}
],
"no-mixed-spaces-and-tabs": [
"error"
],
"strict": [
"error",
"global"
],
"no-unused-expressions": [
"error"
],
"no-labels": [
"error"
],
"no-lone-blocks": [
"error"
],
"no-floating-decimal": [
"error"
],
"no-fallthrough": [
"error"
],
"no-implicit-coercion": [
"error"
],
"no-empty-pattern": [
"error"
],
"eqeqeq": [
"error"
],
"dot-location": [
"error",
"property"
],
"dot-notation": [
"error"
],
"block-scoped-var": [
"error"
],
"complexity": [
"warn",
5
],
"consistent-return": [
"error"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}