-
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.
use biome `workspace` mode instead of one per package
- Loading branch information
Showing
26 changed files
with
203 additions
and
349 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -47,6 +47,7 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: | ||
- 18.x | ||
- 20.x | ||
- 22.x | ||
steps: | ||
|
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 |
---|---|---|
|
@@ -50,6 +50,7 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: | ||
- 18.x | ||
- 20.x | ||
- 22.x | ||
steps: | ||
|
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"github.vscode-github-actions", | ||
"biomejs.biome", | ||
"vue.volar" | ||
] | ||
} | ||
"recommendations": ["github.vscode-github-actions", "biomejs.biome", "vue.volar"] | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit", | ||
"source.organizeImports.biome": "explicit", | ||
"source.sortImports": "explicit", | ||
"source.removeUnused.ts": "explicit", | ||
"source.removeUnusedImports": "explicit", | ||
} | ||
} | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit", | ||
"source.organizeImports.biome": "explicit", | ||
"source.sortImports": "explicit", | ||
"source.removeUnused.ts": "explicit", | ||
"source.removeUnusedImports": "explicit" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"files": { | ||
"ignore": [ | ||
"packages/docs/*", | ||
"**/*.d.ts", | ||
"packages/vue/src/vue-component-lib/utils.ts", | ||
"packages/vue/src/proxies.ts" | ||
] | ||
}, | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"useIgnoreFile": true, | ||
"defaultBranch": "main" | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf", | ||
"lineWidth": 120, | ||
"attributePosition": "multiline" | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"suspicious": { | ||
"noExplicitAny": "off" | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"jsxQuoteStyle": "double", | ||
"quoteProperties": "asNeeded", | ||
"trailingCommas": "all", | ||
"semicolons": "always", | ||
"arrowParentheses": "asNeeded", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"quoteStyle": "single", | ||
"attributePosition": "multiline" | ||
}, | ||
"linter": { | ||
"enabled": true | ||
} | ||
}, | ||
"css": { | ||
"formatter": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true | ||
}, | ||
"parser": { | ||
"cssModules": true | ||
}, | ||
"assists": { | ||
"enabled": true | ||
} | ||
}, | ||
"assists": { | ||
"enabled": true, | ||
"actions": { | ||
"source": { | ||
"sortJsxProps": "on", | ||
"useSortedKeys": "on" | ||
} | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"include": ["packages/core/src/**", "packages/core/plugins/**"], | ||
"linter": { | ||
"rules": { | ||
"suspicious": { | ||
"noAssignInExpressions": "off", // Used to assing ref | ||
"noConfusingVoidType": "off" | ||
}, | ||
"correctness": { | ||
"useJsxKeyInIterable": "off" // Stencil generate jsx key for us | ||
}, | ||
"a11y": { | ||
"useKeyWithClickEvents": "warn", // Should be an error before release v1 | ||
"useValidAnchor": "off", // Anchor is used to trigger focus on element, for link purpose, | ||
"noAutofocus": "off", // Auto focus is used for inputs components | ||
"noSvgWithoutTitle": "off", | ||
"useSemanticElements": "off" | ||
}, | ||
"style": { | ||
"noParameterAssign": "off" // Used to assing ref | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"include": ["packages/vue/src/**", "tests/vue/src/**"], | ||
"linter": { | ||
"rules": { | ||
"style": { | ||
"useConst": "off", | ||
"useImportType": "off" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.