Skip to content

Commit 756236b

Browse files
committed
chore: add package 'eslint-plugin-deprecation'
1 parent 734c40f commit 756236b

6 files changed

Lines changed: 38 additions & 2 deletions

File tree

.changeset/famous-cooks-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sect/solid-hiding-header": patch
3+
---
4+
5+
add package 'eslint-plugin-deprecation'

apps/solidjs-boilerplate/.eslintrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
// Configuration for JavaScript files
3-
"extends": ["airbnb-base", "plugin:prettier/recommended"],
3+
"extends": [
4+
"airbnb-base",
5+
"plugin:deprecation/recommended",
6+
"plugin:prettier/recommended"
7+
],
48
"rules": {
59
"prettier/prettier": "error"
610
},

apps/solidjs-boilerplate/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"eslint-config-prettier": "^9.0.0",
4343
"eslint-import-resolver-typescript": "^3.6.1",
4444
"eslint-plugin-cypress": "^2.15.1",
45+
"eslint-plugin-deprecation": "^2.0.0",
4546
"eslint-plugin-import": "^2.28.1",
4647
"eslint-plugin-jest": "^27.4.2",
4748
"eslint-plugin-jest-dom": "^5.1.0",

packages/solid-hiding-header/.eslintrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
// Configuration for JavaScript files
3-
"extends": ["airbnb-base", "plugin:prettier/recommended"],
3+
"extends": [
4+
"airbnb-base",
5+
"plugin:deprecation/recommended",
6+
"plugin:prettier/recommended"
7+
],
48
"rules": {
59
"prettier/prettier": "error"
610
},

packages/solid-hiding-header/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"eslint-config-prettier": "^9.0.0",
9696
"eslint-import-resolver-typescript": "^3.6.1",
9797
"eslint-plugin-cypress": "^2.15.1",
98+
"eslint-plugin-deprecation": "^2.0.0",
9899
"eslint-plugin-import": "^2.28.1",
99100
"eslint-plugin-jest": "^27.4.2",
100101
"eslint-plugin-jest-dom": "^5.1.0",

pnpm-lock.yaml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)