ultracite 5.2.12 → 5.2.13

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.
Files changed (2) hide show
  1. package/biome.jsonc +135 -1
  2. package/package.json +1 -1
package/biome.jsonc CHANGED
@@ -824,5 +824,139 @@
824
824
  "clientKind": "git",
825
825
  "useIgnoreFile": true,
826
826
  "defaultBranch": "main"
827
- }
827
+ },
828
+ "overrides": [
829
+ {
830
+ // Configuration files that often need default exports
831
+ "includes": [
832
+ "*.config.{js,ts,mjs,cjs,mts,cts}",
833
+ "vite.config.*",
834
+ "vitest.config.*",
835
+ "jest.config.*",
836
+ "rollup.config.*",
837
+ "webpack.config.*",
838
+ "eslint.config.*",
839
+ "prettier.config.*",
840
+ "stylelint.config.*",
841
+ "commitlint.config.*",
842
+ "lint-staged.config.*",
843
+ "postcss.config.*",
844
+ "tailwind.config.*",
845
+ "playwright.config.*",
846
+ "cypress.config.*",
847
+ "babel.config.*",
848
+ "metro.config.*",
849
+ "next.config.*",
850
+ "nuxt.config.*",
851
+ "astro.config.*",
852
+ "svelte.config.*",
853
+ "tsup.config.*"
854
+ ]
855
+ },
856
+ {
857
+ // Test files
858
+ "includes": ["**/*.{test,spec}.{ts,tsx,js,jsx}", "**/__tests__/**/*"],
859
+ "linter": {
860
+ "rules": {
861
+ "complexity": {
862
+ "noExcessiveCognitiveComplexity": "off"
863
+ },
864
+ "suspicious": {
865
+ "noConsole": "off",
866
+ "noExplicitAny": "off"
867
+ }
868
+ }
869
+ }
870
+ },
871
+ {
872
+ // Scripts and CLI tools
873
+ "includes": ["**/scripts/**/*", "**/bin/**/*", "*.mjs", "*.cjs"],
874
+ "linter": {
875
+ "rules": {
876
+ "suspicious": {
877
+ "noConsole": "off"
878
+ },
879
+ "style": {
880
+ "noProcessEnv": "off"
881
+ }
882
+ }
883
+ }
884
+ },
885
+ {
886
+ // Storybook files
887
+ "includes": ["**/*.{stories,story}.{ts,tsx,js,jsx}"],
888
+ "linter": {
889
+ "rules": {
890
+ "correctness": {
891
+ "noUnusedVariables": "off",
892
+ "noUnusedImports": "off"
893
+ }
894
+ }
895
+ }
896
+ },
897
+ {
898
+ // Environment and type definition files
899
+ "includes": ["**/*.d.ts", "**/{env,global,types}.d.ts"],
900
+ "linter": {
901
+ "rules": {
902
+ "correctness": {
903
+ "noUnusedVariables": "off",
904
+ "noUndeclaredVariables": "off"
905
+ }
906
+ }
907
+ }
908
+ },
909
+ {
910
+ // Files that should not be processed (build output, generated files, non-JS files)
911
+ "includes": [
912
+ "**/dist/**/*",
913
+ "**/build/**/*",
914
+ "**/.next/**/*",
915
+ "**/.nuxt/**/*",
916
+ "**/out/**/*",
917
+ "**/coverage/**/*",
918
+ "**/*.min.js",
919
+ "**/*.min.css",
920
+ "**/*.md",
921
+ "**/*.mdx",
922
+ "**/*.graphql",
923
+ "**/*.gql",
924
+ ".env",
925
+ ".env.*"
926
+ ],
927
+ "formatter": {
928
+ "enabled": false
929
+ },
930
+ "linter": {
931
+ "enabled": false
932
+ }
933
+ },
934
+ {
935
+ // Package.json and similar JSON config files
936
+ "includes": [
937
+ "package.json",
938
+ "{tsconfig,jsconfig}.json",
939
+ "tsconfig.*.json",
940
+ ".vscode/*.json",
941
+ ".github/**/*.json"
942
+ ],
943
+ "json": {
944
+ "parser": {
945
+ "allowComments": true,
946
+ "allowTrailingCommas": true
947
+ }
948
+ }
949
+ },
950
+ {
951
+ // Router files (TanStack Router, Remix)
952
+ "includes": ["**/routes/**/*.{tsx,ts}", "**/app/routes/**/*.{tsx,ts}"],
953
+ "linter": {
954
+ "rules": {
955
+ "style": {
956
+ "useFilenamingConvention": "off"
957
+ }
958
+ }
959
+ }
960
+ }
961
+ ]
828
962
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ultracite",
3
3
  "description": "The AI-ready formatter that helps you write and generate code faster.",
4
- "version": "5.2.12",
4
+ "version": "5.2.13",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "ultracite": "dist/index.js"