Skip to content

Commit

Permalink
fix(airbnb): remove airbnb in extend and bump version (#524)
Browse files Browse the repository at this point in the history
* fix: remove extends from airbnb config

* bump: eslint-plugin and eslint-plugin-react
  • Loading branch information
kyleleow authored Jan 15, 2025
1 parent edefbb9 commit a9f83e3
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 84 deletions.
4 changes: 2 additions & 2 deletions packages/standard-linter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
],
"dependencies": {
"@ordzaar/standard-typescript": "workspace:*",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-check-file": "^2.8.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/standard-web-linter/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
module.exports = {
extends: ["next/core-web-vitals", "airbnb", "airbnb-typescript", "prettier"],
extends: ["next/core-web-vitals", "prettier"],
parserOptions: {
project: "./tsconfig.json",
},
plugins: ["simple-import-sort", "prettier", "unused-imports"],
rules: {
// Fix airbnb-typescript/base rule to allow leading underscores for unused vars
"@typescript-eslint/naming-convention": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion packages/standard-web-linter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
Expand Down
Loading

0 comments on commit a9f83e3

Please sign in to comment.