diff --git a/.lintstagedrc b/.lintstagedrc index 2a5c93fa..0af244ef 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,6 +1,6 @@ { "*.{js,ts,cjs,mjs,d.mts,jsx,tsx,json,jsonc}": [ - "biome lint src --no-errors-on-unmatched" + "biome lint . --no-errors-on-unmatched" ], "package.json": "sort-package-json", "public/locales/**/*.json": "sort-json" diff --git a/.stylelintrc.json b/.stylelintrc.json index 5923b87b..55ff0d41 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,11 +1,6 @@ { - "extends": [ - "stylelint-config-standard-scss" - ], - "plugins": [ - "stylelint-order", - "stylelint-scss" - ], + "extends": ["stylelint-config-standard-scss"], + "plugins": ["stylelint-order", "stylelint-scss"], "rules": { "keyframes-name-pattern": null, "declaration-block-no-redundant-longhand-properties": null, @@ -15,13 +10,13 @@ "scss/no-global-function-names": null, "function-url-quotes": null, "font-family-no-missing-generic-family-keyword": null, - "order/order": [ - "custom-properties", - "declarations" + "order/order": ["custom-properties", "declarations"], + "scss/dollar-variable-pattern": [ + "^[a-z][a-zA-Z]+$", + { + "ignore": "global" + } ], - "scss/dollar-variable-pattern": ["^[a-z][a-zA-Z]+$", { - "ignore": "global" - }], "selector-pseudo-class-no-unknown": [ true, { diff --git a/biome.json b/biome.json index 4cba8093..2b37b35e 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,9 @@ { "$schema": "https://biomejs.dev/schemas/1.5.3/schema.json", + "files": { + "include": ["*.tsx", "*.ts", "*.js", "*.json"], + "ignore": ["./dist", "./node_modules", ".husky", "docs", "gen", "public"] + }, "vcs": { "defaultBranch": "dev", "useIgnoreFile": true