-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch biome.js configuration to standard.js style
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
- Loading branch information
1 parent
0785cfc
commit 5d9754a
Showing
20 changed files
with
519 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
'**/*.{ts,tsx,js,jsx,cjs,mjs,json,jsonc}': ['biome check --apply'], | ||
'**/*.{md,yml,yaml}': ['prettier --cache --write'], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export default { extends: ['@commitlint/config-conventional'] }; | ||
export default { extends: ['@commitlint/config-conventional'] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { env } from 'node:process'; | ||
import { env } from 'node:process' | ||
|
||
const isCIEnvironment = env.CI != null; | ||
const isCIEnvironment = env.CI != null | ||
if (isCIEnvironment === false) { | ||
import('husky') | ||
.then(husky => console.warn(husky.default())) | ||
.catch(console.error); | ||
.catch(console.error) | ||
} |
Oops, something went wrong.