Skip to content

Commit

Permalink
Merge pull request #53 from Boehringer-Ingelheim/feature/plugin-depre…
Browse files Browse the repository at this point in the history
…cation

feat(base): add 'eslint-plugin-deprecation' to report usage of deprecated code
  • Loading branch information
SimonGolms authored Aug 7, 2024
2 parents 9caa9c7 + 00939c6 commit 83f8f4c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ This shared ESLint configuration is set up for TypeScript projects that adhere t
The following plugins are used in this configuration:

- [`@typescript-eslint/eslint-plugin`](https://typescript-eslint.io/rules/)
- [`eslint-plugin-deprecation`](https://github.com/gund/eslint-plugin-deprecation)
- [`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import)
- [`eslint-plugin-sonarjs`](https://github.com/SonarSource/eslint-plugin-sonarjs)

Expand Down
1 change: 1 addition & 0 deletions base/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:deprecation/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:perfectionist/recommended-natural',
Expand Down
37 changes: 34 additions & 3 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-perfectionist": "^2.11.0",
Expand Down

0 comments on commit 83f8f4c

Please sign in to comment.