Skip to content

Commit

Permalink
use space indentation globally
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Jul 11, 2024
1 parent 22387c9 commit bff187f
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 75 deletions.
100 changes: 51 additions & 49 deletions packages/biome/biome.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,53 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"linter": {
"rules": {
"correctness": {
"noSwitchDeclarations": "warn",
"noChildrenProp": "warn",
"useExhaustiveDependencies": "warn"
},
"style": {
"useConst": "off",
"noUselessElse": "warn",
"noNonNullAssertion": "warn",
"useSelfClosingElements": "warn",
"useTemplate": "warn",
"noParameterAssign": "warn",
"noUnusedTemplateLiteral": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "off",
"noDangerouslySetInnerHtmlWithChildren": "warn"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noExplicitAny": "warn",
"noImplicitAnyLet": "warn",
"noShadowRestrictedNames": "warn",
"noGlobalIsNan": "warn"
},
"complexity": {
"noForEach": "warn",
"useLiteralKeys": "warn"
},
"a11y": {
"noSvgWithoutTitle": "warn",
"useMediaCaption": "warn",
"useKeyWithClickEvents": "warn"
}
}
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"indentStyle": "space"
}
},
"files": {
"ignoreUnknown": true
}
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"linter": {
"rules": {
"correctness": {
"noSwitchDeclarations": "warn",
"noChildrenProp": "warn",
"useExhaustiveDependencies": "warn"
},
"style": {
"useConst": "off",
"noUselessElse": "warn",
"noNonNullAssertion": "warn",
"useSelfClosingElements": "warn",
"useTemplate": "warn",
"noParameterAssign": "warn",
"noUnusedTemplateLiteral": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "off",
"noDangerouslySetInnerHtmlWithChildren": "warn"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noExplicitAny": "warn",
"noImplicitAnyLet": "warn",
"noShadowRestrictedNames": "warn",
"noGlobalIsNan": "warn"
},
"complexity": {
"noForEach": "warn",
"useLiteralKeys": "warn"
},
"a11y": {
"noSvgWithoutTitle": "warn",
"useMediaCaption": "warn",
"useKeyWithClickEvents": "warn"
}
}
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single"
}
},
"formatter": {
"indentStyle": "space"
},
"files": {
"ignoreUnknown": true
}
}
48 changes: 24 additions & 24 deletions packages/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"name": "@weaverse/biome",
"version": "1.0.2",
"description": "Biome configuration for Weaverse",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/Weaverse/weaverse.git"
},
"publishConfig": {
"access": "public",
"@weaverse:registry": "https://registry.npmjs.org"
},
"author": "The Weaverse Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/Weaverse/weaverse/issues"
},
"homepage": "https://github.com/Weaverse/weaverse#readme",
"dependencies": {
"@biomejs/biome": "^1.8.3"
},
"files": ["biome.json"]
"name": "@weaverse/biome",
"version": "1.0.3",
"description": "Biome configuration for Weaverse",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/Weaverse/weaverse.git"
},
"publishConfig": {
"access": "public",
"@weaverse:registry": "https://registry.npmjs.org"
},
"author": "The Weaverse Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/Weaverse/weaverse/issues"
},
"homepage": "https://github.com/Weaverse/weaverse#readme",
"dependencies": {
"@biomejs/biome": "^1.8.3"
},
"files": ["biome.json"]
}
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/pilot
Submodule pilot updated from 628c26 to 60445d

0 comments on commit bff187f

Please sign in to comment.