Skip to content

Commit

Permalink
Fix incorrect eslintjson deletion (DefinitelyTyped#65069)
Browse files Browse the repository at this point in the history
* Revert "Remove .eslintrc.json in types/ (DefinitelyTyped#65064)"

This reverts commit 7bf71be.

* Delete types/.eslintrc.json this time. The correct one.
  • Loading branch information
sandersn authored Apr 10, 2023
1 parent 7bf71be commit deba1ee
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"root": true,
"extends": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"dt-header": "error",
"export-just-namespace": "error",
"no-any-union": "error",
"no-bad-reference": "error",
"no-const-enum": "error",
"no-dead-reference": "error",
"no-declare-current-package": "error",
"no-import-default-of-export-equals": "error",
"no-outside-dependencies": "error",
"no-self-import": "error",
"no-single-element-tuple-type": "error",
"no-unnecessary-generics": "error",
"no-useless-files": "error",
"prefer-declare-function": "error",
"redundant-undefined": "error",
"trim-file": "error"
}
}
5 changes: 0 additions & 5 deletions types/.eslintrc.json

This file was deleted.

0 comments on commit deba1ee

Please sign in to comment.