Skip to content

Commit

Permalink
chore: remove eslint-plugin-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Aug 30, 2024
1 parent 2b5da93 commit 4f6e635
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
17 changes: 1 addition & 16 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// @ts-check
/* eslint-disable @typescript-eslint/no-unsafe-argument */
import { fixupPluginRules, includeIgnoreFile } from '@eslint/compat';
import { includeIgnoreFile } from '@eslint/compat';
import eslint from '@eslint/js';
import stylistic from '@stylistic/eslint-plugin';
import eslintPluginDeprecation from 'eslint-plugin-deprecation';
import eslintPluginJsdoc from 'eslint-plugin-jsdoc';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
Expand Down Expand Up @@ -140,20 +139,6 @@ export default tseslint.config(
},
//#endregion

//#region deprecation
{
plugins: {
deprecation:
// https://github.com/gund/eslint-plugin-deprecation/issues/78
// @ts-expect-error: Just eat it!
fixupPluginRules(eslintPluginDeprecation),
},
rules: {
'deprecation/deprecation': 'error',
},
},
//#endregion

//#region unicorn
eslintPluginUnicorn.configs['flat/recommended'],
{
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"eslint": "9.9.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
"eslint-plugin-deprecation": "3.0.0",
"eslint-plugin-jsdoc": "50.2.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-unicorn": "55.0.0",
Expand Down
19 changes: 0 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f6e635

Please sign in to comment.