mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Setup biome and pre-commit hooks for formatting (no-changelog) (#10795)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
57836cc17a
commit
6a35812f92
@@ -8,7 +8,5 @@ module.exports = {
|
||||
|
||||
...sharedOptions(__dirname),
|
||||
|
||||
ignorePatterns: [
|
||||
'src/expressions/grammar*.ts'
|
||||
]
|
||||
ignorePatterns: ['src/expressions/grammar*.ts'],
|
||||
};
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
"test": "jest",
|
||||
"lint": "eslint . --ext .ts --quiet",
|
||||
"lintfix": "eslint . --ext .ts --fix",
|
||||
"format": "prettier --write --ignore-path ../../.prettierignore src test"
|
||||
"format": "biome format --write src test",
|
||||
"format:check": "biome ci src test"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@codemirror/language": "*",
|
||||
|
||||
Reference in New Issue
Block a user