Skip to content

Commit

Permalink
chore(eslint): remove --ext cli arg in lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw committed Dec 31, 2024
1 parent 0b78213 commit a95d9c7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
],
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --ext .js,.tsx,.ts --cache --fix",
"eslint --cache --fix",
"prettier --write"
],
"*.{css,md,json}": "prettier --write"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"generate-panel": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample panel' --orgName='sample-org' --pluginType='panel'",
"generate-datasource": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample datasource' --orgName='sample-org' --pluginType='datasource' --no-hasBackend",
"generate-datasource-backend": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample datasource' --orgName='sample-org' --pluginType='datasource' --hasBackend",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint": "eslint --cache ./src",
"lint:fix": "npm run lint -- --fix",
"test": "vitest",
"typecheck": "tsc --noEmit"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"clean": "rm -rf ./dist",
"build": "tsc --project tsconfig.json",
"dev": "nodemon --exec 'tsc'",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint": "eslint --cache ./src",
"lint:fix": "npm run lint -- --fix",
"server": "docker compose up --build",
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-meta-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "vitest",
"build": "tsc --project tsconfig.json",
"dev": "tsc --project tsconfig.json --watch",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint": "eslint --cache ./src",
"lint:fix": "npm run lint -- --fix",
"typecheck": "tsc --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-types-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test": "vitest --passWithNoTests",
"build": "tsc --project tsconfig.json && chmod +x ./dist/bin/run.js",
"dev": "tsc --project tsconfig.json --watch",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint": "eslint --cache ./src",
"lint:fix": "npm run lint -- --fix",
"typecheck": "tsc --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sign-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"clean": "rm -rf ./dist",
"build": "npm run clean && tsc && chmod +x ./dist/bin/run.js",
"dev": "nodemon --exec 'tsc'",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint": "eslint --cache ./src",
"lint:fix": "npm run lint -- --fix",
"test": "vitest",
"typecheck": "tsc --noEmit"
Expand Down

0 comments on commit a95d9c7

Please sign in to comment.