Skip to content

Commit

Permalink
feat: introduce biome
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Aug 27, 2024
1 parent 33b24ea commit 14c5a8d
Show file tree
Hide file tree
Showing 8 changed files with 248 additions and 1,179 deletions.
3 changes: 0 additions & 3 deletions .lintstagedrc

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

21 changes: 21 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": ["**/dist/index.js", "**/lib/index.js"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 4,
"lineEnding": "lf",
"lineWidth": 120,
"attributePosition": "auto"
},
"linter": {
"enabled": true,
"rules": { "recommended": true },
"ignore": ["**/*.test.ts"]
},
"organizeImports": { "enabled": true }
}
34 changes: 0 additions & 34 deletions eslint.config.mjs

This file was deleted.

18 changes: 4 additions & 14 deletions jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"coverageReporters": [
"lcov",
"text-summary"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/"
],
"testPathIgnorePatterns": [
"/node_modules/"
]
"coverageReporters": ["lcov", "text-summary"],
"collectCoverageFrom": ["src/**/*.ts"],
"coveragePathIgnorePatterns": ["/node_modules/", "/__tests__/"],
"testPathIgnorePatterns": ["/node_modules/"]
}
Loading

0 comments on commit 14c5a8d

Please sign in to comment.