Skip to content

Commit

Permalink
Add eslint-plugin-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Sep 21, 2024
1 parent efbc1ae commit a51ec5b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@
},
"homepage": "https://github.com/abraham/remotedata#readme",
"devDependencies": {
"pkg-ok": "^3.0.0",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.0.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^28.0.0",
"jest": "^29.0.0",
"pkg-ok": "^3.0.0",
"prettier": "3.3.3",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
Expand Down Expand Up @@ -80,6 +81,11 @@
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.lint.json"
},
"plugins": [
"@typescript-eslint",
"jest"
Expand All @@ -90,7 +96,8 @@
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:import/errors",
"plugin:import/typescript"
"plugin:import/typescript",
"plugin:deprecation/recommended"
]
},
"prettier": {
Expand Down
5 changes: 5 additions & 0 deletions tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src"],
"exclude": []
}

0 comments on commit a51ec5b

Please sign in to comment.