-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove biome format rule indentStyle
- Loading branch information
1 parent
3f2b27a
commit 6c0d90c
Showing
225 changed files
with
15,611 additions
and
15,615 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"tsserver.tsdk": ".yarn/sdks/typescript/lib", | ||
"workspace.workspaceFolderCheckCwd": false | ||
"tsserver.tsdk": ".yarn/sdks/typescript/lib", | ||
"workspace.workspaceFolderCheckCwd": false | ||
} |
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": ["arcanis.vscode-zipfs"] | ||
"recommendations": ["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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"typescript.tsdk": ".yarn/sdks/typescript/lib", | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
"typescript.tsdk": ".yarn/sdks/typescript/lib", | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
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,57 +1,57 @@ | ||
const presets = [ | ||
'@babel/preset-typescript', | ||
[ | ||
'@babel/preset-react', | ||
{ | ||
runtime: 'automatic', | ||
}, | ||
], | ||
'@babel/preset-typescript', | ||
[ | ||
'@babel/preset-react', | ||
{ | ||
runtime: 'automatic', | ||
}, | ||
], | ||
] | ||
|
||
module.exports = { | ||
presets: [ | ||
['@babel/preset-env', { targets: { esmodules: true } }], | ||
...presets, | ||
], | ||
plugins: ['babel-plugin-styled-components'], | ||
env: { | ||
test: { | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
...presets, | ||
], | ||
}, | ||
docs: { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
debug: false, | ||
useBuiltIns: 'usage', | ||
corejs: { | ||
version: 3, | ||
proposals: true, | ||
}, | ||
modules: 'commonjs', | ||
targets: { | ||
browsers: [ | ||
// Desktop browsers | ||
'last 4 Chrome versions', | ||
'Edge > 15', | ||
'last 4 Firefox versions', | ||
'Firefox ESR', | ||
'last 2 Safari major versions', | ||
presets: [ | ||
['@babel/preset-env', { targets: { esmodules: true } }], | ||
...presets, | ||
], | ||
plugins: ['babel-plugin-styled-components'], | ||
env: { | ||
test: { | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
...presets, | ||
], | ||
}, | ||
docs: { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
debug: false, | ||
useBuiltIns: 'usage', | ||
corejs: { | ||
version: 3, | ||
proposals: true, | ||
}, | ||
modules: 'commonjs', | ||
targets: { | ||
browsers: [ | ||
// Desktop browsers | ||
'last 4 Chrome versions', | ||
'Edge > 15', | ||
'last 4 Firefox versions', | ||
'Firefox ESR', | ||
'last 2 Safari major versions', | ||
|
||
// Mobile browsers | ||
'last 2 ChromeAndroid versions', | ||
'last 2 FirefoxAndroid versions', | ||
'last 2 iOS major versions', | ||
], | ||
}, | ||
}, | ||
], | ||
...presets, | ||
], | ||
}, | ||
}, | ||
// Mobile browsers | ||
'last 2 ChromeAndroid versions', | ||
'last 2 FirefoxAndroid versions', | ||
'last 2 iOS major versions', | ||
], | ||
}, | ||
}, | ||
], | ||
...presets, | ||
], | ||
}, | ||
}, | ||
} |
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,63 +1,59 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json", | ||
"organizeImports": { | ||
"enabled": false | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"suspicious": { | ||
"noEmptyInterface": "off", | ||
"noExplicitAny": "off", | ||
"noArrayIndexKey": "off", | ||
"noShadowRestrictedNames": "off", | ||
"noAssignInExpressions": "off" | ||
}, | ||
"complexity": { | ||
"noUselessFragments": "off", | ||
"useLiteralKeys": "off", | ||
"noUselessSwitchCase": "off" | ||
}, | ||
"style": { | ||
"noUnusedTemplateLiteral": "off", | ||
"useExponentiationOperator": "off", | ||
"noParameterAssign": "off", | ||
"useEnumInitializers": "off", | ||
"useSelfClosingElements": "off" | ||
}, | ||
"a11y": { | ||
"noSvgWithoutTitle": "off", | ||
"noPositiveTabindex": "off" | ||
}, | ||
"correctness": { | ||
"noSelfAssign": "off" | ||
} | ||
} | ||
}, | ||
"formatter": { | ||
"indentStyle": "space" | ||
}, | ||
"files": { | ||
"ignore": [ | ||
"packages/**/build", | ||
"packages/**/dist", | ||
"packages/**/*.spec.ts", | ||
"packages/icons/src/__generated__", | ||
"./packages/docs/src/props.json", | ||
".pnp.cjs", | ||
".pnp.loader.mjs", | ||
"coverage" | ||
] | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"quoteStyle": "single", | ||
"indentStyle": "space", | ||
"trailingComma": "es5", | ||
"arrowParentheses": "asNeeded", | ||
"quoteProperties": "preserve" | ||
} | ||
} | ||
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json", | ||
"organizeImports": { | ||
"enabled": false | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"suspicious": { | ||
"noEmptyInterface": "off", | ||
"noExplicitAny": "off", | ||
"noArrayIndexKey": "off", | ||
"noShadowRestrictedNames": "off", | ||
"noAssignInExpressions": "off" | ||
}, | ||
"complexity": { | ||
"noUselessFragments": "off", | ||
"useLiteralKeys": "off", | ||
"noUselessSwitchCase": "off" | ||
}, | ||
"style": { | ||
"noUnusedTemplateLiteral": "off", | ||
"useExponentiationOperator": "off", | ||
"noParameterAssign": "off", | ||
"useEnumInitializers": "off", | ||
"useSelfClosingElements": "off" | ||
}, | ||
"a11y": { | ||
"noSvgWithoutTitle": "off", | ||
"noPositiveTabindex": "off" | ||
}, | ||
"correctness": { | ||
"noSelfAssign": "off" | ||
} | ||
} | ||
}, | ||
"files": { | ||
"ignore": [ | ||
"packages/**/build", | ||
"packages/**/dist", | ||
"packages/**/*.spec.ts", | ||
"packages/icons/src/__generated__", | ||
"./packages/docs/src/props.json", | ||
".pnp.cjs", | ||
".pnp.loader.mjs", | ||
"coverage" | ||
] | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"quoteStyle": "single", | ||
"trailingComma": "es5", | ||
"arrowParentheses": "asNeeded", | ||
"quoteProperties": "preserve" | ||
} | ||
} | ||
} |
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,8 +1,8 @@ | ||
module.exports = { | ||
testEnvironment: 'jsdom', | ||
collectCoverage: true, | ||
coveragePathIgnorePatterns: ['/node_modules/', '/__generated__/', '/build/'], | ||
testMatch: ['**/packages/**/?(*.)test.ts?(x)'], | ||
transformIgnorePatterns: ['node_modules/(?!@juggle)'], | ||
setupFiles: ['<rootDir>/jest/globals.tsx'], | ||
testEnvironment: 'jsdom', | ||
collectCoverage: true, | ||
coveragePathIgnorePatterns: ['/node_modules/', '/__generated__/', '/build/'], | ||
testMatch: ['**/packages/**/?(*.)test.ts?(x)'], | ||
transformIgnorePatterns: ['node_modules/(?!@juggle)'], | ||
setupFiles: ['<rootDir>/jest/globals.tsx'], | ||
} |
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,11 +1,11 @@ | ||
import { FC, ReactNode } from 'react' | ||
|
||
export interface FocusTrapProps { | ||
readonly children?: ReactNode | ||
readonly children?: ReactNode | ||
} | ||
|
||
const FocusTrap: FC<FocusTrapProps> = ({ children }) => { | ||
return <>{children}</> | ||
return <>{children}</> | ||
} | ||
|
||
export default FocusTrap |
Oops, something went wrong.