-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vf 145 bytt linting og formattering til biomejs (#276)
* feat: 🔧 change package manager to pnpm * chore: 🔧 update linting rules * style: 🎨 format code * ci: 👷 update github actions * ci: 💚 fix github actions * revert: 🔥 remove build artifacts * chore: 🔧 fix config * fix: 🚨 fix lint * fix: 🐛 fix import * chore: 🔧 update package.json remove package manager setting * chore: ➕ add biome * chore: 🔧 update biome config import/migrate linting rules from eslint and formatting rules from prettier * chore: 🔨 update scripts replace eslint & prettier with biome in lint and format scripts. Add "check" script which both lints and formats. All scripts apply safe fixed * style: 🚨 format and lint all files * chore: 🔧 move scope settings to biome config * style: 🎨 format config files * chore: ✏️ fix script * fix: 🚨 fix lint errors * ci: 👷 update github actions Optimize biome job * chore: ➖ remove eslint & prettier
- Loading branch information
Showing
43 changed files
with
1,306 additions
and
1,327 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json", | ||
"files": { | ||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.json"], | ||
"ignore": ["node_modules", "build"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf", | ||
"lineWidth": 80, | ||
"attributePosition": "auto" | ||
}, | ||
"organizeImports": { "enabled": true }, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
}, | ||
"ignore": ["/*", "!/src"] | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"jsxQuoteStyle": "double", | ||
"quoteProperties": "asNeeded", | ||
"trailingComma": "all", | ||
"semicolons": "always", | ||
"arrowParentheses": "always", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"quoteStyle": "double", | ||
"attributePosition": "auto" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.