Skip to content

Commit

Permalink
Add support for additional file types in include
Browse files Browse the repository at this point in the history
section of biome.json
  • Loading branch information
o-az committed Nov 8, 2023
1 parent 62e566f commit 1edd09b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
"clientKind": "git"
},
"files": {
"include": ["./**/*.ts", "./**/*.js", "./**/*.tsx", "./**/*.d.ts"],
"include": [
"./**/*.ts",
"./**/*.js",
"./**/*.cjs",
"./**/*.tsx",
"./**/*.d.ts",
"./**/*.json",
"./**/*.jsonc"
],
"ignore": ["node_modules", "dist", "_"],
"ignoreUnknown": true
},
Expand All @@ -19,7 +27,15 @@
"indentWidth": 2,
"indentStyle": "space",
"formatWithErrors": true,
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "**/*.json"]
"include": [
"./**/*.ts",
"./**/*.js",
"./**/*.cjs",
"./**/*.tsx",
"./**/*.d.ts",
"./**/*.json",
"./**/*.jsonc"
]
},
"linter": {
"enabled": true,
Expand Down

0 comments on commit 1edd09b

Please sign in to comment.