eslint-config-interfaced
Version:
ESLint config for the approaches adopted by Interfaced company
97 lines (96 loc) • 2.72 kB
YAML
array-bracket-newline: ["error", "consistent"]
array-element-newline: "off"
array-bracket-spacing: ["error", "never"]
block-spacing: ["error", "never"]
brace-style: "error"
camelcase: "error"
capitalized-comments: "off"
comma-dangle: "error"
comma-spacing: "error"
comma-style: ["error", "last"]
computed-property-spacing: "error"
consistent-this: "off"
eol-last: ["error", "always"]
func-call-spacing: "error"
func-name-matching: "off"
func-names: "off"
func-style: "off"
function-call-argument-newline: "off"
function-paren-newline: "off"
id-length: "off"
id-match: "off"
implicit-arrow-linebreak: "off"
indent: ["error", "tab", { SwitchCase: 1 }]
jsx-quotes: "off"
key-spacing: "error"
keyword-spacing: "error"
line-comment-position: "off"
linebreak-style: ["error", "unix"]
lines-between-class-members: "off"
lines-around-comment: "off"
max-depth: "off"
max-len: ["error", 120]
max-lines: "off"
max-lines-per-function: "off"
max-nested-callbacks: "off"
max-params: "off"
max-statements: "off"
max-statements-per-line: "off"
multiline-comment-style: "off"
multiline-ternary: "off"
new-cap: "error"
new-parens: "error"
newline-per-chained-call: "error"
no-array-constructor: "error"
no-bitwise: "off"
no-continue: "off"
no-inline-comments: "off"
no-lonely-if: "error"
no-mixed-operators: "off"
no-mixed-spaces-and-tabs: "error"
no-multi-assign: "off"
no-multiple-empty-lines: ["error", { max: 2, maxEOF: 1, maxBOF: 0 }]
no-negated-condition: "off"
no-nested-ternary: "off"
no-new-object: "error"
no-plusplus: "off"
no-restricted-syntax: "off"
no-tabs: "off"
no-ternary: "off"
no-trailing-spaces: "error"
no-underscore-dangle: "off" # // Our naming convention requires underscore before private/protected
no-unneeded-ternary: "error"
no-whitespace-before-property: "error"
nonblock-statement-body-position: "off"
object-curly-spacing: ["error", "never"]
object-curly-newline: "off"
object-property-newline: "off"
one-var: ["error", "never"]
one-var-declaration-per-line: "off"
operator-assignment: "off"
operator-linebreak: ["error", "after"]
padded-blocks: ["error", "never"]
padding-line-between-statements: "off"
prefer-exponentiation-operator: "error"
prefer-object-spread: "error"
quote-props: "off"
quotes: ["error", "single", { allowTemplateLiterals: true }]
semi: ["error", "always"]
semi-spacing: "error"
semi-style: "error"
sort-keys: "off"
sort-vars: "off"
space-before-blocks: "error"
space-before-function-paren: ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}]
space-in-parens: "error"
space-infix-ops: "error"
space-unary-ops: "error"
spaced-comment: "error"
switch-colon-spacing: "error"
template-tag-spacing: ["error", "never"]
unicode-bom: "off"
wrap-regex: "off"