mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-12 19:32:17 +02:00
style(biome): replace eslint by biome
This commit is contained in:
parent
b6692e42b2
commit
c213fa184d
17
.eslintrc
17
.eslintrc
@ -1,17 +0,0 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["src/**/*.ts"],
|
||||
"extends": "eslint:recommended"
|
||||
}
|
||||
],
|
||||
"rules": {}
|
||||
}
|
40
biome.json
Normal file
40
biome.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
"files": {
|
||||
"maxSize": 2097152
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"correctness": {
|
||||
"noUnusedImports": "error"
|
||||
},
|
||||
"suspicious": {
|
||||
"noExplicitAny": "off"
|
||||
},
|
||||
"style": {
|
||||
"useImportType": "off",
|
||||
"useBlockStatements": "error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space"
|
||||
},
|
||||
"json": {
|
||||
"formatter": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true,
|
||||
"defaultBranch": "main"
|
||||
}
|
||||
}
|
1022
package-lock.json
generated
1022
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,10 +13,10 @@
|
||||
"test:watch": "vitest watch --coverage"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.7.3",
|
||||
"@vitest/coverage-istanbul": "^1.4.0",
|
||||
"axios": "^1.6.2",
|
||||
"axios-cache-interceptor": "^1.3.2",
|
||||
"eslint": "^8.25.0",
|
||||
"jsdom": "^24.0.0",
|
||||
"json-beautify": "^1.1.1",
|
||||
"phaser3spectorjs": "^0.0.8",
|
||||
|
@ -1,20 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"strictNullChecks": false,
|
||||
"sourceMap": false,
|
||||
"strict": false,
|
||||
"rootDir": "./src",
|
||||
"baseUrl": "./src",
|
||||
"paths": {
|
||||
"#app/*": ["*.ts"],
|
||||
"#app": ["."]
|
||||
},
|
||||
"outDir": "./build",
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"strictNullChecks": false,
|
||||
"sourceMap": false,
|
||||
"strict": false,
|
||||
"rootDir": "./src",
|
||||
"baseUrl": "./src",
|
||||
"paths": {
|
||||
"#app/*": ["*.ts"],
|
||||
"#app": ["."]
|
||||
},
|
||||
"outDir": "./build",
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user