Skip to content

Commit

Permalink
fix: remove eslint-plugin-package-json to get rid of the npm audit error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Migeot de Baran committed May 24, 2024
1 parent 95d85b2 commit 6bf0391
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ ruleNamingConventionOverride[1].format = [

module.exports = {
overrides: [
{
files: ['package.json'],
plugins: ['package-json'],
extends: ['plugin:package-json/recommended'],
parser: 'jsonc-eslint-parser',
},
{
files: ['*.{js,ts}'],
plugins: ['import', 'promise'],
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,20 @@
"dependencies": {
"@typescript-eslint/parser": "^7.0.2",
"eslint-config-xo": "^0.44.0",
"eslint-config-xo-typescript": "^4.0.0",
"jsonc-eslint-parser": "^2.4.0"
"eslint-config-xo-typescript": "^4.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.2",
"ava": "^6.1.2",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-package-json": "^0.10.4",
"eslint-plugin-promise": "^6.1.1",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=7.0.2",
"eslint": ">=8.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-package-json": "^0.10.4",
"eslint-plugin-promise": "^6.1.1",
"typescript": ">=5.0.0"
},
Expand Down

0 comments on commit 6bf0391

Please sign in to comment.