This repository has been archived on 2022-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-05 11:20:33 +00:00
|
|
|
---
|
|
|
|
extends: airbnb-base
|
|
|
|
env:
|
|
|
|
node: true
|
|
|
|
mocha: true
|
|
|
|
es6: true
|
2019-06-04 09:14:19 +00:00
|
|
|
parser: "@typescript-eslint/parser"
|
2019-03-05 11:20:33 +00:00
|
|
|
parserOptions:
|
|
|
|
sourceType: module
|
2019-06-04 09:14:19 +00:00
|
|
|
plugins:
|
|
|
|
- import
|
|
|
|
- promise
|
2019-03-05 11:20:33 +00:00
|
|
|
rules:
|
|
|
|
generator-star-spacing:
|
|
|
|
- 2
|
|
|
|
- before: true
|
|
|
|
after: true
|
|
|
|
no-shadow: 0
|
|
|
|
import/no-unresolved: 0
|
|
|
|
import/extensions: 0
|
2019-06-03 11:34:06 +00:00
|
|
|
import/prefer-default-export: 1
|
2019-03-05 11:20:33 +00:00
|
|
|
require-yield: 0
|
|
|
|
no-param-reassign: 0
|
|
|
|
comma-dangle: 0
|
|
|
|
no-underscore-dangle: 0
|
|
|
|
no-control-regex: 0
|
|
|
|
import/no-extraneous-dependencies:
|
|
|
|
- 2
|
|
|
|
- devDependencies: true
|
|
|
|
func-names: 0
|
|
|
|
no-unused-expressions: 0
|
|
|
|
prefer-arrow-callback: 1
|
|
|
|
no-use-before-define:
|
|
|
|
- 2
|
|
|
|
- functions: false
|
|
|
|
space-before-function-paren:
|
|
|
|
- 2
|
|
|
|
- always
|
|
|
|
max-len:
|
|
|
|
- 2
|
|
|
|
- 120
|
|
|
|
- 2
|
|
|
|
semi:
|
|
|
|
- 2
|
|
|
|
- never
|
|
|
|
strict:
|
|
|
|
- 2
|
|
|
|
- global
|
2019-06-03 11:34:06 +00:00
|
|
|
arrow-parens: 0
|
|
|
|
arrow-body-style: 0
|
|
|
|
class-methods-use-this: 0
|
|
|
|
consistent-return: 1
|
|
|
|
no-useless-constructor: 0
|
|
|
|
no-unused-vars: 1
|
|
|
|
no-console: 0
|
|
|
|
padded-blocks: 0
|
|
|
|
prefer-template: 1
|
|
|
|
no-undef: 1 # https://github.com/typescript-eslint/typescript-eslint/issues/342
|