parent
30f3ad9984
commit
f7c56c0917
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 12,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"rules": {
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["off", "single"],
|
||||
"semi": ["error", "always"],
|
||||
"no-duplicate-imports": ["error"],
|
||||
"no-var": "off",
|
||||
"prefer-const": "off",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-inferrable-types": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"@typescript-eslint/no-empty-interface": "off",
|
||||
"@typescript-eslint/no-this-alias": "off",
|
||||
"prefer-spread": "off",
|
||||
"prefer-rest-params": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-empty": "off",
|
||||
"@typescript-eslint/no-empty-function": "off",
|
||||
"no-self-assign": "off",
|
||||
"no-case-declarations": "off",
|
||||
"no-constant-condition": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"no-extra-boolean-cast": "off",
|
||||
"@typescript-eslint/ban-types": "off",
|
||||
"no-async-promise-executor": "off",
|
||||
"@typescript-eslint/adjacent-overload-signatures": "off"
|
||||
}
|
||||
}
|
|
@ -12,6 +12,10 @@
|
|||
"breakpoint-sass": "^2.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^4.20.0",
|
||||
"@typescript-eslint/parser": "^4.20.0",
|
||||
"eslint": "^7.23.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"glob": "^7.1.3",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-autoprefixer": "^7.0.1",
|
||||
|
@ -23,5 +27,9 @@
|
|||
"gulp-sass-inheritance": "^1.1",
|
||||
"gulp-size": "^3",
|
||||
"gulp-sourcemaps": "^3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .ts --format visualstudio",
|
||||
"lint-fix": "eslint . --ext .ts --fix"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue