ultracite 5.2.12 → 5.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biome.jsonc +180 -1
- package/package.json +1 -1
package/biome.jsonc
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
|
|
3
|
+
"files": {
|
|
4
|
+
"includes": [
|
|
5
|
+
"**/*",
|
|
6
|
+
"!**/_generated/**/*",
|
|
7
|
+
"!**/*.gen.*",
|
|
8
|
+
"!**/.next/**/*",
|
|
9
|
+
"!**/next-env.d.ts",
|
|
10
|
+
"!**/.nuxt/**/*",
|
|
11
|
+
"!**/.output/**/*",
|
|
12
|
+
"!**/.svelte-kit/**/*",
|
|
13
|
+
"!**/.vitepress/cache/**/*",
|
|
14
|
+
"!**/.vitepress/dist/**/*",
|
|
15
|
+
"!**/dist/**/*",
|
|
16
|
+
"!**/build/**/*",
|
|
17
|
+
"!**/out/**/*",
|
|
18
|
+
"!**/.turbo/**/*",
|
|
19
|
+
"!**/.vercel/**/*",
|
|
20
|
+
"!**/.netlify/**/*",
|
|
21
|
+
"!**/storybook-static/**/*",
|
|
22
|
+
"!**/.docusaurus/**/*",
|
|
23
|
+
"!**/.cache/**/*",
|
|
24
|
+
"!**/public/build/**/*",
|
|
25
|
+
"!**/.parcel-cache/**/*",
|
|
26
|
+
"!**/.vite/**/*",
|
|
27
|
+
"!**/.astro/**/*",
|
|
28
|
+
"!**/_astro/**/*",
|
|
29
|
+
"!**/coverage/**/*",
|
|
30
|
+
"!**/.nyc_output/**/*",
|
|
31
|
+
"!**/*.generated.*",
|
|
32
|
+
"!**/*.auto.*",
|
|
33
|
+
"!**/generated/**/*",
|
|
34
|
+
"!**/auto-generated/**/*",
|
|
35
|
+
"!**/codegen/**/*",
|
|
36
|
+
"!**/__generated__/**/*",
|
|
37
|
+
"!**/graphql-types.*",
|
|
38
|
+
"!**/schema.d.ts",
|
|
39
|
+
"!**/schema.graphql.d.ts",
|
|
40
|
+
"!**/*.d.ts.map",
|
|
41
|
+
"!**/.expo/**/*",
|
|
42
|
+
"!**/.expo-shared/**/*",
|
|
43
|
+
"!**/android/build/**/*",
|
|
44
|
+
"!**/ios/build/**/*",
|
|
45
|
+
"!**/DerivedData/**/*"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
3
48
|
"formatter": {
|
|
4
49
|
"enabled": true,
|
|
5
50
|
"formatWithErrors": true,
|
|
@@ -824,5 +869,139 @@
|
|
|
824
869
|
"clientKind": "git",
|
|
825
870
|
"useIgnoreFile": true,
|
|
826
871
|
"defaultBranch": "main"
|
|
827
|
-
}
|
|
872
|
+
},
|
|
873
|
+
"overrides": [
|
|
874
|
+
{
|
|
875
|
+
// Configuration files that often need default exports
|
|
876
|
+
"includes": [
|
|
877
|
+
"*.config.{js,ts,mjs,cjs,mts,cts}",
|
|
878
|
+
"vite.config.*",
|
|
879
|
+
"vitest.config.*",
|
|
880
|
+
"jest.config.*",
|
|
881
|
+
"rollup.config.*",
|
|
882
|
+
"webpack.config.*",
|
|
883
|
+
"eslint.config.*",
|
|
884
|
+
"prettier.config.*",
|
|
885
|
+
"stylelint.config.*",
|
|
886
|
+
"commitlint.config.*",
|
|
887
|
+
"lint-staged.config.*",
|
|
888
|
+
"postcss.config.*",
|
|
889
|
+
"tailwind.config.*",
|
|
890
|
+
"playwright.config.*",
|
|
891
|
+
"cypress.config.*",
|
|
892
|
+
"babel.config.*",
|
|
893
|
+
"metro.config.*",
|
|
894
|
+
"next.config.*",
|
|
895
|
+
"nuxt.config.*",
|
|
896
|
+
"astro.config.*",
|
|
897
|
+
"svelte.config.*",
|
|
898
|
+
"tsup.config.*"
|
|
899
|
+
]
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
// Test files
|
|
903
|
+
"includes": ["**/*.{test,spec}.{ts,tsx,js,jsx}", "**/__tests__/**/*"],
|
|
904
|
+
"linter": {
|
|
905
|
+
"rules": {
|
|
906
|
+
"complexity": {
|
|
907
|
+
"noExcessiveCognitiveComplexity": "off"
|
|
908
|
+
},
|
|
909
|
+
"suspicious": {
|
|
910
|
+
"noConsole": "off",
|
|
911
|
+
"noExplicitAny": "off"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
// Scripts and CLI tools
|
|
918
|
+
"includes": ["**/scripts/**/*", "**/bin/**/*", "*.mjs", "*.cjs"],
|
|
919
|
+
"linter": {
|
|
920
|
+
"rules": {
|
|
921
|
+
"suspicious": {
|
|
922
|
+
"noConsole": "off"
|
|
923
|
+
},
|
|
924
|
+
"style": {
|
|
925
|
+
"noProcessEnv": "off"
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
// Storybook files
|
|
932
|
+
"includes": ["**/*.{stories,story}.{ts,tsx,js,jsx}"],
|
|
933
|
+
"linter": {
|
|
934
|
+
"rules": {
|
|
935
|
+
"correctness": {
|
|
936
|
+
"noUnusedVariables": "off",
|
|
937
|
+
"noUnusedImports": "off"
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
// Environment and type definition files
|
|
944
|
+
"includes": ["**/*.d.ts", "**/{env,global,types}.d.ts"],
|
|
945
|
+
"linter": {
|
|
946
|
+
"rules": {
|
|
947
|
+
"correctness": {
|
|
948
|
+
"noUnusedVariables": "off",
|
|
949
|
+
"noUndeclaredVariables": "off"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
// Files that should not be processed (build output, generated files, non-JS files)
|
|
956
|
+
"includes": [
|
|
957
|
+
"**/dist/**/*",
|
|
958
|
+
"**/build/**/*",
|
|
959
|
+
"**/.next/**/*",
|
|
960
|
+
"**/.nuxt/**/*",
|
|
961
|
+
"**/out/**/*",
|
|
962
|
+
"**/coverage/**/*",
|
|
963
|
+
"**/*.min.js",
|
|
964
|
+
"**/*.min.css",
|
|
965
|
+
"**/*.md",
|
|
966
|
+
"**/*.mdx",
|
|
967
|
+
"**/*.graphql",
|
|
968
|
+
"**/*.gql",
|
|
969
|
+
".env",
|
|
970
|
+
".env.*"
|
|
971
|
+
],
|
|
972
|
+
"formatter": {
|
|
973
|
+
"enabled": false
|
|
974
|
+
},
|
|
975
|
+
"linter": {
|
|
976
|
+
"enabled": false
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
// Package.json and similar JSON config files
|
|
981
|
+
"includes": [
|
|
982
|
+
"package.json",
|
|
983
|
+
"{tsconfig,jsconfig}.json",
|
|
984
|
+
"tsconfig.*.json",
|
|
985
|
+
".vscode/*.json",
|
|
986
|
+
".github/**/*.json"
|
|
987
|
+
],
|
|
988
|
+
"json": {
|
|
989
|
+
"parser": {
|
|
990
|
+
"allowComments": true,
|
|
991
|
+
"allowTrailingCommas": true
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
// Router files (TanStack Router, Remix)
|
|
997
|
+
"includes": ["**/routes/**/*.{tsx,ts}", "**/app/routes/**/*.{tsx,ts}"],
|
|
998
|
+
"linter": {
|
|
999
|
+
"rules": {
|
|
1000
|
+
"style": {
|
|
1001
|
+
"useFilenamingConvention": "off"
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
828
1007
|
}
|