Skip to content

Commit ffe81ba

Browse files
committed
style(lint): add ESLint deprecation plugin rule
1 parent bebfb47 commit ffe81ba

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.eslintrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"root": true,
33
"ignorePatterns": ["projects/**/*"],
4+
"plugins": ["deprecation"],
5+
"rules": {
6+
"deprecation/deprecation": "warn"
7+
},
48
"overrides": [
59
{
610
"files": ["*.ts"],

package-lock.json

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"core-js": "^3.19.2",
6262
"cz-conventional-changelog": "^3.3.0",
6363
"eslint": "^8.4.1",
64+
"eslint-plugin-deprecation": "^1.3.2",
6465
"husky": "^7.0.4",
6566
"istanbul": "^0.4.5",
6667
"jest": "^27.4.5",

0 commit comments

Comments
 (0)