Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .biomeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Build output
out/
dist/

# Dependencies
node_modules/

# Type definitions
**/*.d.ts

# Config files
webpack.config.js

# VSCode settings
.vscode/

# Large files
src/encoder.json
25 changes: 0 additions & 25 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run type-check
- run: npm run lint
- run: npm run compile
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
"recommendations": ["biomejs.biome", "amodio.tsl-problem-matcher"]
}
43 changes: 43 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"maxSize": 2097152
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useBlockStatements": "warn",
"noNonNullAssertion": "off"
},
"suspicious": {
"noDoubleEquals": "warn",
"noExplicitAny": "off",
"noConstEnum": "off"
},
"complexity": {
"noBannedTypes": "off",
"noUselessConstructor": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always"
}
}
}
Loading
Loading