mirror of
https://github.com/iv-org/close-potential-duplicates.git
synced 2024-11-26 23:50:43 +00:00
ci: 👷 tslint => eslint
This commit is contained in:
parent
3b55ca4108
commit
ce7da9bd04
41
.eslintrc
Normal file
41
.eslintrc
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": [
|
||||
"@typescript-eslint",
|
||||
"eslint-comments",
|
||||
"import",
|
||||
"prettier",
|
||||
"promise"
|
||||
],
|
||||
"extends": [
|
||||
"airbnb-base",
|
||||
"eslint:recommended",
|
||||
"prettier",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:promise/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"commonjs": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020,
|
||||
"sourceType": "module",
|
||||
"requireConfigFile": false
|
||||
},
|
||||
"rules": {
|
||||
"no-nested-ternary": 0,
|
||||
"no-inner-declarations": 0,
|
||||
"import/extensions": 0,
|
||||
"import/no-unresolved": 0,
|
||||
"no-param-reassign": [2, { "props": false }],
|
||||
"@typescript-eslint/no-namespace": 0,
|
||||
"@typescript-eslint/no-explicit-any": 0,
|
||||
"@typescript-eslint/explicit-module-boundary-types": 0,
|
||||
"@typescript-eslint/no-non-null-assertion": 0
|
||||
}
|
||||
}
|
17
tslint.json
17
tslint.json
@ -1,17 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
"tslint-config-airbnb",
|
||||
"tslint-eslint-rules",
|
||||
"tslint-config-prettier"
|
||||
],
|
||||
"linterOptions": {
|
||||
"exclude": ["./lib/**/*.d.ts"]
|
||||
},
|
||||
"rules": {
|
||||
"no-construct": true,
|
||||
"no-debugger": true,
|
||||
"no-reference": true,
|
||||
"import-name": false,
|
||||
"semicolon": [true, "never"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user