diff --git a/biome.json b/biome.json index 1110193..3666848 100644 --- a/biome.json +++ b/biome.json @@ -1,33 +1,3 @@ { - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", - "vcs": { - "enabled": true, - "clientKind": "git", - "useIgnoreFile": true - }, - "linter": { "enabled": true, "rules": { "recommended": true } }, - "organizeImports": { "enabled": true }, - "formatter": { - "enabled": true, - "indentStyle": "space", - "indentWidth": 2 - }, - "javascript": { - "formatter": { - "jsxQuoteStyle": "double", - "quoteProperties": "asNeeded", - "trailingCommas": "none", - "semicolons": "asNeeded", - "arrowParentheses": "always", - "bracketSpacing": true, - "bracketSameLine": false, - "quoteStyle": "single", - "attributePosition": "auto" - } - }, - "css": { - "linter": { "enabled": true }, - "formatter": { "enabled": true, "quoteStyle": "single" }, - "parser": { "cssModules": true } - } + "extends": ["@kremalicious/config/biome"] } diff --git a/package-lock.json b/package-lock.json index a4f252f..8430ee0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ }, "devDependencies": { "@biomejs/biome": "1.8.3", + "@kremalicious/config": "^1.0.1", "@svgr/webpack": "^8.1.0", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", @@ -3749,6 +3750,13 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@kremalicious/config": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@kremalicious/config/-/config-1.0.1.tgz", + "integrity": "sha512-MZ3SEuNG97TvM3egvFafPgXgET7G/rhspkmIal2GwlWXF78ocGINVwxlS1sNY9VZQQFGy5nrWIlLBBqFhirZNw==", + "dev": true, + "license": "MIT" + }, "node_modules/@next/env": { "version": "14.2.5", "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.5.tgz", diff --git a/package.json b/package.json index 28e60c7..79b9a95 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ }, "devDependencies": { "@biomejs/biome": "1.8.3", + "@kremalicious/config": "^1.0.1", "@svgr/webpack": "^8.1.0", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0",