-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14705fa
commit 12ba7b1
Showing
6 changed files
with
111 additions
and
108 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,34 +1,34 @@ | ||
{ | ||
"biome.enabled": true, | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"javascript.suggest.autoImports": true, | ||
"javascript.suggest.paths": true, | ||
"typescript.format.enable": false, | ||
"typescript.suggest.paths": true, | ||
"typescript.suggest.autoImports": true, | ||
"editor.renderWhitespace": "all", | ||
"editor.rulers": [120, 160], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.organizeImports": "never", | ||
"source.organizeImports.biome": "always", | ||
"quickfix.biome": "always" | ||
}, | ||
"editor.insertSpaces": false, | ||
"editor.detectIndentation": true, | ||
"editor.trimAutoWhitespace": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.trimTrailingWhitespaceInRegexAndStrings": true, | ||
"files.trimFinalNewlines": true, | ||
"explorer.fileNesting.patterns": { | ||
"*.ts": "${basename}.*.${extname}", | ||
".env": ".env.*", | ||
"*.tsx": "${basename}.*.${extname},${basename}.*.ts", | ||
"package.json": "*.json, *.yml, *.config.js, *.config.ts, *.yaml" | ||
}, | ||
"eslint.enable": false, | ||
"eslint.format.enable": false, | ||
"prettier.enable": false | ||
"biome.enabled": true, | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.formatOnSave": true, | ||
"javascript.format.enable": false, | ||
"javascript.suggest.autoImports": true, | ||
"javascript.suggest.paths": true, | ||
"typescript.format.enable": false, | ||
"typescript.suggest.paths": true, | ||
"typescript.suggest.autoImports": true, | ||
"editor.renderWhitespace": "all", | ||
"editor.rulers": [120, 160], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.organizeImports": "never", | ||
"source.organizeImports.biome": "always", | ||
"quickfix.biome": "always" | ||
}, | ||
"editor.insertSpaces": false, | ||
"editor.detectIndentation": true, | ||
"editor.trimAutoWhitespace": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.trimTrailingWhitespaceInRegexAndStrings": true, | ||
"files.trimFinalNewlines": true, | ||
"explorer.fileNesting.patterns": { | ||
"*.ts": "${basename}.*.${extname}", | ||
".env": ".env.*", | ||
"*.tsx": "${basename}.*.${extname},${basename}.*.ts", | ||
"package.json": "*.json, *.yml, *.config.js, *.config.ts, *.yaml" | ||
}, | ||
"eslint.enable": false, | ||
"eslint.format.enable": false, | ||
"prettier.enable": 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,55 +1,58 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"defaultBranch": "main", | ||
"useIgnoreFile": true | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "tab", | ||
"lineEnding": "lf", | ||
"lineWidth": 120 | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"suspicious": { | ||
"recommended": true | ||
}, | ||
"style": { | ||
"recommended": true | ||
}, | ||
"complexity": { | ||
"recommended": true | ||
}, | ||
"security": { | ||
"recommended": true | ||
}, | ||
"performance": { | ||
"recommended": true | ||
}, | ||
"correctness": { | ||
"recommended": true | ||
}, | ||
"a11y": { | ||
"recommended": true | ||
}, | ||
"nursery": { | ||
"recommended": true | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"trailingCommas": "es5" | ||
} | ||
} | ||
} | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"defaultBranch": "main", | ||
"useIgnoreFile": true | ||
}, | ||
"formatter": { | ||
"ignore": ["test-apps"], | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "tab", | ||
"lineEnding": "lf", | ||
"lineWidth": 120 | ||
}, | ||
"organizeImports": { | ||
"ignore": ["test-apps"], | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"ignore": ["test-apps"], | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"suspicious": { | ||
"recommended": true | ||
}, | ||
"style": { | ||
"recommended": true | ||
}, | ||
"complexity": { | ||
"recommended": true | ||
}, | ||
"security": { | ||
"recommended": true | ||
}, | ||
"performance": { | ||
"recommended": true | ||
}, | ||
"correctness": { | ||
"recommended": true | ||
}, | ||
"a11y": { | ||
"recommended": true | ||
}, | ||
"nursery": { | ||
"recommended": true | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"trailingCommas": "es5" | ||
} | ||
} | ||
} |
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,7 @@ | ||
import { test } from "."; | ||
import { test } from "." | ||
|
||
describe("test", () => { | ||
it("should work", () => { | ||
expect(test()).toBeUndefined(); | ||
}); | ||
}); | ||
it("should work", () => { | ||
expect(test()).toBeUndefined() | ||
}) | ||
}) |
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,2 +1,2 @@ | ||
// This is your packages entry point, everything exported from here will be accessible to the end-user. | ||
export const test = (): void => {}; | ||
export const test = (): void => {} |
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 +1 @@ | ||
// Setup your test environment here | ||
// Setup your test environment here |
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,17 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, | ||
"moduleResolution": "Bundler", | ||
"module": "ESNext" /* Specify what module code is generated. */, | ||
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, | ||
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, | ||
"strict": true /* Enable all strict type-checking options. */, | ||
"skipLibCheck": true /* Skip type checking all .d.ts files. */, | ||
"types": ["vitest/globals"], | ||
"rootDir": ".", | ||
"outDir": "./dist", | ||
"noEmit": true | ||
}, | ||
"include": ["src/**/*", "tests/**/*"], | ||
"exclude": ["node_modules", "dist"] | ||
"compilerOptions": { | ||
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, | ||
"moduleResolution": "Bundler", | ||
"module": "ESNext" /* Specify what module code is generated. */, | ||
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, | ||
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, | ||
"strict": true /* Enable all strict type-checking options. */, | ||
"skipLibCheck": true /* Skip type checking all .d.ts files. */, | ||
"types": ["vitest/globals"], | ||
"rootDir": ".", | ||
"outDir": "./dist", | ||
"noEmit": true | ||
}, | ||
"include": ["src/**/*", "tests/**/*"], | ||
"exclude": ["node_modules", "dist"] | ||
} |