Skip to content

Commit

Permalink
[lit-next] Unify ESLint dependency to the root (lit#1297)
Browse files Browse the repository at this point in the history
- Move the ESLint config and dependencies to the root package.
- Remove all the TSLint references.
- Remove unneeded disabled global rules.
  • Loading branch information
abdonrd authored Oct 1, 2020
1 parent d9ac661 commit 141afa8
Show file tree
Hide file tree
Showing 44 changed files with 996 additions and 325 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

45 changes: 30 additions & 15 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,36 @@
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"rules": {
"no-unexpected-multiline": "off",
"@typescript-eslint/indent": "off",

"no-extra-boolean-cast": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/triple-slash-reference": "off",

"@typescript-eslint/no-unused-vars": ["warn", {
"argsIgnorePattern": "^_"
}]
}
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
]
},
"overrides": [
{
"files": [
"check-version-tracker.js",
"rollup-common.js",
"rollup.config.js"
],
"env": {
"node": true
}
},
{
"files": ["*_test.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}
Loading

0 comments on commit 141afa8

Please sign in to comment.