Skip to content

Commit

Permalink
fix biome
Browse files Browse the repository at this point in the history
  • Loading branch information
MP281X committed Sep 26, 2024
1 parent a9d263a commit 6b3d7b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cli/lib/configProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const nextTsConfig = `
const nextJSConfig = `
/** @type {import('next').NextConfig} */
export default {
output: 'standalone',
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true }
}
Expand Down Expand Up @@ -60,6 +61,6 @@ export const configProject = () => {
fs.writeFileSync('.gitignore', gitignore)

if (hasPackage('next')) fs.writeFileSync('tsconfig.json', nextTsConfig)
if (hasPackage('next')) fs.writeFileSync('next.config.mjs', nextJSConfig)
if (hasPackage('next')) fs.writeFileSync('next.config.js', nextJSConfig)
if (hasPackage('svelte')) fs.writeFileSync('tsconfig.json', svelteTsConfig)
}
5 changes: 4 additions & 1 deletion configs/biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

"organizeImports": { "enabled": true },
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "ignore": ["**/*.g.ts"] },

"formatter": {
"enabled": true,
Expand Down Expand Up @@ -37,9 +38,11 @@
"noConsoleLog": "off",
"noEmptyBlock": "off",
"noExplicitAny": "off",
"noFocusedTests": "warn",
"noFocusedTests": "off",
"noEvolvingTypes": "off",
"noArrayIndexKey": "off",
"noConfusingVoidType": "off",
"noReactSpecificProps": "off",
"noEmptyBlockStatements": "off",
"noControlCharactersInRegex": "off"
},
Expand Down

0 comments on commit 6b3d7b2

Please sign in to comment.