Skip to content

Commit

Permalink
chore: panda eslint 순서 정렬 플러그인 설치
Browse files Browse the repository at this point in the history
  • Loading branch information
pipisebastian committed Nov 10, 2024
1 parent ac6ab36 commit 1de79f5
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"printWidth": 100,
"tabWidth": 2,
"jsxSingleQuote": false,
"singleQuote": false
"singleQuote": false,

"plugins": ["@pandabox/prettier-plugin"],
"pandaFirstProps": ["as", "className", "layerStyle", "textStyle"],
"pandaStylePropsFirst": true,
"pandaSortOtherProps": true
}
2 changes: 2 additions & 0 deletions client/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { fileURLToPath } from "url";
import { dirname, resolve } from "path";
import rootConfig from "../eslint.config.js";
import panda from "@pandacss/eslint-plugin";
import pandabox from "@pandabox/prettier-plugin";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
Expand All @@ -21,6 +22,7 @@ export default [
"react-hooks": reactHooks,
"jsx-a11y": jsxA11y,
"@pandacss": panda,
"@pandabox": pandabox,
},
languageOptions: {
parserOptions: {
Expand Down
3 changes: 3 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
"prepare": "panda codegen"
},
"dependencies": {
"@pandabox/panda-plugins": "^0.0.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"socket.io-client": "^4.8.1"
},
"devDependencies": {
"@pandabox/prettier-plugin": "^0.1.3",
"@pandacss/dev": "^0.47.1",
"@pandacss/eslint-plugin": "^0.2.0",
"@types/react": "^18.3.12",
Expand All @@ -26,6 +28,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.14",
"prettier": "^3.0.0",
"vite": "^5.4.10",
"vite-tsconfig-paths": "^5.1.0"
}
Expand Down
46 changes: 46 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 1de79f5

Please sign in to comment.