|
11 | 11 | "@project-tools/stylelint-plugin-vkui": "workspace:1.0.0" |
12 | 12 | }, |
13 | 13 | "devDependencies": { |
| 14 | + "@biomejs/biome": "2.3.2", |
14 | 15 | "@csstools/postcss-global-data": "3.1.0", |
15 | 16 | "@morev/stylelint-testing-library": "^1.0.2", |
16 | 17 | "@playwright/experimental-ct-react": "1.56.1", |
|
41 | 42 | "@vitest/coverage-v8": "^4.0.4", |
42 | 43 | "@vitest/eslint-plugin": "^1.3.25", |
43 | 44 | "@vkontakte/eslint-plugin": "^2.0.0", |
44 | | - "@vkontakte/prettier-config": "^0.2.1", |
45 | 45 | "@vkontakte/stylelint-config": "^4.1.0", |
46 | 46 | "@vkontakte/vkui-tokens": "4.70.0", |
47 | 47 | "autoprefixer": "^10.4.21", |
|
55 | 55 | "diff2html-cli": "^5.2.15", |
56 | 56 | "dotenv": "^17.2.3", |
57 | 57 | "eslint": "^8.56.0", |
58 | | - "eslint-config-prettier": "^9.1.0", |
59 | 58 | "eslint-import-resolver-alias": "^1.1.2", |
60 | 59 | "eslint-plugin-compat": "^6.0.2", |
61 | 60 | "eslint-plugin-import": "^2.32.0", |
62 | 61 | "eslint-plugin-jsdoc": "^61.1.9", |
63 | | - "eslint-plugin-prettier": "^5.2.1", |
64 | 62 | "eslint-plugin-react": "^7.33.2", |
65 | 63 | "eslint-plugin-react-compiler": "0.0.0-experimental-56229e1-20240813", |
66 | 64 | "eslint-plugin-react-hooks": "^7.0.1", |
|
80 | 78 | "postcss-logical": "^8.1.0", |
81 | 79 | "postcss-modules": "^6.0.1", |
82 | 80 | "postcss-value-parser": "^4.2.0", |
83 | | - "prettier": "^3.6.2", |
84 | 81 | "process": "^0.11.10", |
85 | 82 | "react": "^18.3.1", |
86 | 83 | "react-dom": "^18.3.1", |
|
94 | 91 | "stylelint-config-standard": "^39.0.1", |
95 | 92 | "stylelint-media-use-custom-media": "^4.0.0", |
96 | 93 | "stylelint-order": "^7.0.0", |
97 | | - "stylelint-prettier": "^5.0.3", |
98 | 94 | "stylelint-use-logical": "^2.1.2", |
99 | 95 | "stylelint-value-no-unknown-custom-properties": "^6.0.1", |
100 | 96 | "swc-loader": "^0.2.6", |
|
131 | 127 | "test:e2e:ci": "yarn workspace @vkontakte/vkui run test:e2e:ci", |
132 | 128 | "test:e2e-update:ci": "yarn workspace @vkontakte/vkui run test:e2e-update:ci", |
133 | 129 | "test:coverage": "npx nyc report --reporter=lcov", |
134 | | - "lint": "yarn lint:generated-files && concurrently 'yarn:lint:types' 'yarn:lint:types:vkui-date-fns-tz' 'yarn:lint:es' 'yarn:lint:style' 'yarn:lint:prettier'", |
| 130 | + "lint": "yarn lint:generated-files && concurrently 'yarn:lint:types' 'yarn:lint:types:vkui-date-fns-tz' 'yarn:lint:es' 'yarn:lint:style' 'yarn:lint:biome-format'", |
135 | 131 | "lint:es": "eslint . --ext .jsx,.js,.ts,.tsx --cache --cache-location .cache/.eslintcache", |
136 | 132 | "lint:es:ci": "yarn lint:es -o lint-results.json -f json", |
137 | 133 | "lint:style": "cross-env LINT_PRECOMMIT_RUN=1 stylelint '**/*.css' --cache --cache-location .cache/.stylelintcache", |
138 | | - "lint:prettier": "prettier --check --ignore-unknown --cache --cache-location .cache/.prettiercache .", |
| 134 | + "lint:biome-format": "biome format .", |
139 | 135 | "lint:types": "concurrently 'yarn:lint:types:*'", |
140 | 136 | "lint:types:root": "tsc --incremental --emitDeclarationOnly --declaration --tsBuildInfoFile .cache/.tsbuildinfo", |
141 | 137 | "lint:types:vkui-date-fns-tz": "yarn workspace @vkontakte/vkui-date-fns-tz run lint:types", |
|
148 | 144 | }, |
149 | 145 | "lint-staged": { |
150 | 146 | "*.{ts,tsx,js,jsx}": [ |
151 | | - "prettier --check", |
| 147 | + "biome format --no-errors-on-unmatched", |
152 | 148 | "eslint" |
153 | 149 | ], |
154 | 150 | "*.css": [ |
155 | | - "prettier --check", |
| 151 | + "biome format --no-errors-on-unmatched", |
156 | 152 | "cross-env LINT_PRECOMMIT_RUN=1 stylelint --allow-empty-input" |
157 | 153 | ], |
158 | 154 | "*.{json,md,mdx}": [ |
159 | | - "prettier --check" |
| 155 | + "biome format --no-errors-on-unmatched" |
160 | 156 | ] |
161 | 157 | }, |
162 | 158 | "packageManager": "[email protected]+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f", |
|
167 | 163 | "packages/*", |
168 | 164 | "tools/*" |
169 | 165 | ] |
170 | | - }, |
171 | | - "prettier": "@vkontakte/prettier-config" |
| 166 | + } |
172 | 167 | } |
0 commit comments