30 lines
683 B
JSON
30 lines
683 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"mocha": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"linebreak-style": "off",
|
|
"quotes": [
|
|
"error",
|
|
"double",
|
|
{ "allowTemplateLiterals": true }
|
|
],
|
|
"keyword-spacing": ["error", { "before": true }],
|
|
"space-before-blocks": ["error"]
|
|
}
|
|
} |