Skip to content

Commit 19520c8

Browse files
committed
chore: wip
1 parent fd622bf commit 19520c8

File tree

9 files changed

+45
-11
lines changed

9 files changed

+45
-11
lines changed

.github/renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": [
3-
"@ow3"
3+
"@ow3",
4+
"regexManagers:biomeVersions"
45
]
56
}

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
- name: Install Dependencies
4444
run: bun install
4545

46-
- name: Build ESLint Config
47-
run: cd storage/framework/core && bun run build
48-
4946
- name: Lint
5047
run: bun buddy lint
5148

biome.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,48 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"organizeImports": {
44
"enabled": true
55
},
6+
"files": {
7+
"include": ["*.{js,ts,stx,vue,html,css,json,yml,yaml,md}"],
8+
"ignore": [
9+
"**/node_modules",
10+
"**/cdk.out",
11+
"**/dist",
12+
"**/*out*",
13+
"CHANGELOG.md"
14+
]
15+
},
16+
"overrides": [
17+
{
18+
"include": [".vscode/**"],
19+
"json": {
20+
"parser": {
21+
"allowComments": true,
22+
"allowTrailingCommas": true
23+
}
24+
}
25+
}
26+
],
27+
"formatter": {
28+
"enabled": true,
29+
"formatWithErrors": false,
30+
"ignore": [],
31+
"attributePosition": "auto",
32+
"indentStyle": "space",
33+
"indentWidth": 2,
34+
"lineEnding": "lf",
35+
"lineWidth": 80
36+
},
637
"linter": {
738
"enabled": true,
839
"rules": {
940
"recommended": true
1041
}
42+
},
43+
"vcs": {
44+
"enabled": true,
45+
"clientKind": "git",
46+
"useIgnoreFile": true
1147
}
1248
}

storage/framework/core/bun-create/buddy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"stacks": "workspace:*"
122122
},
123123
"lint-staged": {
124-
"*": "eslint --fix"
124+
"*": "bunx biome check --no-errors-on-unmatched --files-ignore-unknown=true"
125125
},
126126
"config": {
127127
"commitizen": {

storage/framework/core/bun-create/stack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"stacks": "workspace:*"
122122
},
123123
"lint-staged": {
124-
"*": "eslint --fix"
124+
"*": "bunx biome check --no-errors-on-unmatched --files-ignore-unknown=true"
125125
},
126126
"config": {
127127
"commitizen": {

storage/framework/core/bun-create/stacks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"stacks": "workspace:*"
122122
},
123123
"lint-staged": {
124-
"*": "eslint --fix"
124+
"*": "bunx biome check --no-errors-on-unmatched --files-ignore-unknown=true"
125125
},
126126
"config": {
127127
"commitizen": {

storage/framework/core/bun-create/stx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"stacks": "workspace:*"
123123
},
124124
"lint-staged": {
125-
"*": "eslint --fix"
125+
"*": "bunx biome check --no-errors-on-unmatched --files-ignore-unknown=true"
126126
},
127127
"config": {
128128
"commitizen": {

storage/framework/core/enums/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export enum NpmScript {
1515
DevDesktop = 'dev:desktop',
1616
DevFunctions = 'dev:functions',
1717
Fresh = 'fresh',
18-
Lint = 'bunx eslint .',
18+
Lint = 'bunx biome ci .',
1919
LintFix = 'bunx eslint . --fix',
2020
LintPackageJson = 'publint',
2121
MakeStack = 'make:stack',

storage/framework/core/lint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For casual chit-chat with others using this package:
6161

6262
Many thanks to the following core technologies & people who have contributed to this package:
6363

64-
- [ESLint](https://github.com/eslint/eslint)
64+
- [biome](https://github.com/biomejs/biome)
6565
- [lint-staged](https://github.com/okonet/lint-staged)
6666
- [Chris Breuer](https://github.com/chrisbbreuer)
6767
- [All Contributors](../../contributors)

0 commit comments

Comments
 (0)