Skip to content

Commit

Permalink
add biomejs, config to do formatting only
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed May 11, 2024
1 parent 347b262 commit cddd2ec
Show file tree
Hide file tree
Showing 5 changed files with 442 additions and 218 deletions.
46 changes: 46 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"files": {
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/coverage/**",
"**/ts-out/**",
"**/target/**",
"**/.optic/**",
"**/.vscode/**",
"**/.devcontainer/**"
]
},
"organizeImports": {
"enabled": false
},
"formatter": {
"lineWidth": 100,
"indentWidth": 4
},
"linter": {
"enabled": false,
"rules": {
"recommended": true
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "master"
},
"overrides": [
{
"include": [
"*.yaml",
"*.yml"
],
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
}
]
}
1 change: 1 addition & 0 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/lodash": "^4.14.170",
"@types/node": "^18.13.0",
"eslint": "^8.57.0",
Expand Down
1 change: 1 addition & 0 deletions packages/ott-vis-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@biomejs/biome": "1.7.3",
"@grafana/e2e": "10.0.3",
"@grafana/e2e-selectors": "10.0.3",
"@grafana/eslint-config": "^6.0.0",
Expand Down
1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"zod-validation-error": "^3.0.2"
},
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@types/convict": "^6.1.1",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.11",
Expand Down
Loading

0 comments on commit cddd2ec

Please sign in to comment.