Skip to content

Commit

Permalink
🔧 chore: fix biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Mar 8, 2024
1 parent 829fa8c commit ade0261
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
25 changes: 20 additions & 5 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"organizeImports": {
"enabled": false
},
"json": {
"formatter": {
"enabled": true,
"indentWidth": 2,
"lineEnding": "lf"
}
},
"linter": {
"enabled": true,
"rules": {
Expand Down Expand Up @@ -63,15 +70,23 @@
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 90,
"ignore": ["**/*/generated-new.ts", "**/*/generated-v2.ts"]
"lineWidth": 40,
"ignore": [
"**/*/generated-new.ts",
"**/*/generated-v2.ts"
],
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"trailingComma": "es5",
"jsxQuoteStyle": "single",
"enabled": true,
"semicolons": "asNeeded",
"quoteStyle": "single"
"indentWidth": 2,
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"lineWidth": 10,
"quoteProperties": "asNeeded",
"arrowParentheses": "always"
}
}
}
2 changes: 1 addition & 1 deletion metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let config = getDefaultConfig(__dirname, {
// 2. Enable Tamagui
const { withTamagui } = require('@tamagui/metro-plugin')
module.exports = withTamagui(config, {
components: ['tamagui'],
components: ['tamagui'],
config: './tamagui.config.ts',
outputCSS: './tamagui-web.css',
})
Expand Down
1 change: 1 addition & 0 deletions tamagui.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { config as configBase } from '@tamagui/config'
import { createTamagui } from 'tamagui'

import { tokens } from './src/styles/tokens'

export const config = createTamagui({ ...configBase, tokens })
Expand Down

0 comments on commit ade0261

Please sign in to comment.