chore: update eslint and prettier configuration
This commit is contained in:
15
package.json
15
package.json
@@ -6,19 +6,11 @@
|
||||
"prepare": "husky install",
|
||||
"build": "next build",
|
||||
"dev": "next dev",
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
||||
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"format": "prettier --write .",
|
||||
"start": "next start"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.+(js|jsx|ts|tsx)": [
|
||||
"npm run lint:fix"
|
||||
],
|
||||
"*.+(json|md|css|scss|html)": [
|
||||
"npm run format"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@base-ui/react": "^1.5.0",
|
||||
"@hookform/resolvers": "^5.4.0",
|
||||
@@ -63,11 +55,10 @@
|
||||
"autoprefixer": "^10.4.20",
|
||||
"baseline-browser-mapping": "^2.10.37",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-next": "^16.1.7",
|
||||
"eslint-config-next": "^16.0.10",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.4.0",
|
||||
"postcss": "^8.5",
|
||||
"prettier": "^3.8.1",
|
||||
"tailwindcss": "^4.1.9",
|
||||
|
||||
Reference in New Issue
Block a user