Skip to content

Commit

Permalink
ci(eslint): add prettier plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
klevente committed Aug 11, 2024
1 parent 758d5e6 commit ff4c46a
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
ignorePatterns: ["!**/.server", "!**/.client"],

// Base config
extends: ["eslint:recommended"],
extends: ["eslint:recommended", "plugin:prettier/recommended"],

overrides: [
// React
Expand Down
96 changes: 96 additions & 0 deletions dashboard/package-lock.json

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

2 changes: 2 additions & 0 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@
"autoprefixer": "^10.4.19",
"drizzle-kit": "^0.23.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"postcss": "^8.4.40",
Expand Down

0 comments on commit ff4c46a

Please sign in to comment.