-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move from Eslint/prettier to biome (#549)
* move from eslint to biome * move formatting to biome * update yarn and node
- Loading branch information
1 parent
6cb51bf
commit 10a44bd
Showing
123 changed files
with
769 additions
and
2,255 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "arcanis.vscode-zipfs"] | ||
"recommendations": ["biomejs.biome", "arcanis.vscode-zipfs"] | ||
} |
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
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
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
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
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,123 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json", | ||
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, | ||
"files": { | ||
"ignoreUnknown": false, | ||
"ignore": [ | ||
"**/node_modules/", | ||
"**/dist/", | ||
"./packages/lib/coverage/", | ||
"./packages/lib/api-docs/", | ||
"./apps/site/.docusaurus/", | ||
"./apps/site/build/", | ||
"./apps/site/copy-to-build/", | ||
"./apps/site/static/api/", | ||
"**/.yarn/", | ||
"**/.pnp.*" | ||
] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"useEditorconfig": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf", | ||
"lineWidth": 100, | ||
"attributePosition": "auto", | ||
"bracketSpacing": true | ||
}, | ||
"organizeImports": { "enabled": true }, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"a11y": { "all": true, "useKeyWithClickEvents": "off" }, | ||
"complexity": { | ||
"all": true, | ||
"noBannedTypes": "off", | ||
"noExcessiveCognitiveComplexity": "off", | ||
"noForEach": "off", | ||
"noUselessThisAlias": "off", | ||
"noVoid": "off" | ||
}, | ||
"correctness": { | ||
"all": true, | ||
"noUndeclaredDependencies": "off", | ||
"useImportExtensions": "off" | ||
}, | ||
"performance": { | ||
"all": true, | ||
"noBarrelFile": "off", | ||
"noReExportAll": "off" | ||
}, | ||
"security": { "all": true }, | ||
"style": { | ||
"all": true, | ||
"noArguments": "off", | ||
"noDefaultExport": "off", | ||
"noNamespaceImport": "off", | ||
"noNonNullAssertion": "off", | ||
"noParameterAssign": "off", | ||
"noParameterProperties": "off", | ||
"noUnusedTemplateLiteral": "off", | ||
"noUselessElse": "off", | ||
"useConsistentArrayType": "off", | ||
"useFilenamingConvention": "off", | ||
"useForOf": "off", | ||
"useImportType": "off", | ||
"useNamingConvention": "off", | ||
"useShorthandArrayType": "off", | ||
"useTemplate": "off" | ||
}, | ||
"suspicious": { | ||
"all": true, | ||
"noArrayIndexKey": "off", | ||
"noAssignInExpressions": "off", | ||
"noConfusingVoidType": "off", | ||
"noConsole": "off", | ||
"noEmptyBlockStatements": "off", | ||
"noEmptyInterface": "off", | ||
"noExplicitAny": "off", | ||
"noMisplacedAssertion": "off", | ||
"noReactSpecificProps": "off" | ||
} | ||
}, | ||
"ignore": ["packages/lib/src/action/modelFlowPromiseGenerator.ts"], | ||
"include": [ | ||
"apps/site/src/**/*.ts", | ||
"apps/site/src/**/*.tsx", | ||
"apps/site/docs/**/*.ts", | ||
"apps/site/docs/**/*.tsx", | ||
"packages/lib/src/**/*.ts", | ||
"packages/lib/test/**/*.ts", | ||
"packages/mobx-keystone-yjs/src/**/*.ts", | ||
"packages/mobx-keystone-yjs/test/**/*.ts" | ||
] | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"jsxQuoteStyle": "double", | ||
"quoteProperties": "asNeeded", | ||
"trailingCommas": "es5", | ||
"semicolons": "asNeeded", | ||
"arrowParentheses": "always", | ||
"bracketSameLine": false, | ||
"quoteStyle": "double", | ||
"attributePosition": "auto", | ||
"bracketSpacing": true | ||
}, | ||
"globals": [ | ||
"afterEach", | ||
"beforeEach", | ||
"describe", | ||
"expect", | ||
"it", | ||
"jest", | ||
"test", | ||
"fail", | ||
"arguments", | ||
"ReadonlySetLike" | ||
] | ||
} | ||
} |
Oops, something went wrong.