Skip to content

Instantly share code, notes, and snippets.

@webmaster128
Created May 21, 2019 14:22
Show Gist options
  • Save webmaster128/30219efda015e771f3e45ade7f5c8c32 to your computer and use it in GitHub Desktop.
Save webmaster128/30219efda015e771f3e45ade7f5c8c32 to your computer and use it in GitHub Desktop.
env:
node: true
es6: true
globals:
Atomics: readonly
SharedArrayBuffer: readonly
# jest
describe: readonly
expect: readonly
it: readonly
xdescribe: readonly
xit: readonly
plugins:
- "@typescript-eslint"
- prettier
extends:
- eslint:recommended
- plugin:prettier/recommended
- plugin:@typescript-eslint/recommended
- prettier/@typescript-eslint
- plugin:prettier/recommended
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2018
rules:
no-var: warn
prefer-const: warn
no-console: warn
no-shadow: warn
no-unused-expressions: warn
curly:
- warn
- multi-line
- consistent
spaced-comment:
- warn
- always
"@typescript-eslint/no-non-null-assertion": off
"@typescript-eslint/no-empty-interface": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/explicit-function-return-type":
- warn
- allowExpressions: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment