https://github.com/ETCBC/shebanq
Tip revision: 25e30accad6990bc0fd9831e5e75801a5994e25f authored by Dirk Roorda on 20 October 2021, 14:17:43 UTC
docs
docs
Tip revision: 25e30ac
.eslintrc
parserOptions:
sourceType: module
failOnError: true
ecmaVersion: 2021
env:
browser: true
es2021: true
rules:
max-len:
- warn
- code: 88
ignoreUrls: true
ignoreStrings: true
ignoreTemplateLiterals: true
ignoreRegExpLiterals: true
block-spacing:
- warn
- never
curly:
- warn
- all
no-unneeded-ternary:
- warn
- defaultAssignment: false
no-unused-vars:
- warn
- ignoreRestSiblings: true
no-implicit-globals: off
no-invalid-this:
- error
no-loop-func: warn
no-multi-spaces: warn
no-new: warn
no-param-reassign: warn
no-return-assign:
- warn
- always
no-sequences: warn
no-unused-expressions: warn
no-useless-concat: warn
no-useless-escape: warn
camelcase:
- off
- properties: always
comma-dangle:
- warn
- arrays: always-multiline
objects: always-multiline
imports: always-multiline
exports: always-multiline
functions: only-multiline
comma-spacing:
- warn
- before: false
after: true
computed-property-spacing:
- warn
- never
indent-legacy:
- off
- 2
- SwitchCase: 1
jsx-quotes:
- warn
- prefer-double
key-spacing:
- warn
- beforeColon: false
afterColon: true
mode: strict
keyword-spacing:
- warn
- before: true
after: true
no-trailing-spaces: warn
object-curly-newline:
- warn
- consistent: true
object-property-newline:
- warn
- allowAllPropertiesOnSameLine: true
object-curly-spacing:
- warn
- always
semi:
- warn
- never
semi-spacing: warn
space-before-blocks:
- warn
- always
space-before-function-paren:
- warn
- anonymous: never
named: never
asyncArrow: always
space-in-parens:
- warn
- never
space-infix-ops: warn
space-unary-ops:
- warn
- words: true
nonwords: false
no-template-curly-in-string: warn
no-unsafe-negation: warn
valid-jsdoc: off
arrow-body-style:
- warn
- as-needed
arrow-parens:
- warn
- as-needed
arrow-spacing:
- warn
- before: true
after: true
no-duplicate-imports: warn
no-useless-computed-key: warn
no-useless-constructor: warn
no-useless-rename: warn
no-var: warn
object-shorthand:
- warn
- always
prefer-arrow-callback: warn
prefer-const:
- warn
- destructuring: any
ignoreReadBeforeAssign: false
prefer-destructuring:
- warn
- array: false
object: true
- enforceForRenamedProperties: false
prefer-rest-params: warn
prefer-spread: warn
prefer-template:
- warn
rest-spread-spacing:
- warn
- never
template-curly-spacing:
- warn
- never
no-console:
- off
- allow:
- error
no-constant-condition: warn
operator-linebreak:
- off
- before
no-unreachable: warn
no-invalid-regexp:
- error
- allowConstructorFlags:
- d
extends:
- eslint:recommended