diff --git a/.gitignore b/.gitignore index 6927fa1..09f46c1 100644 --- a/.gitignore +++ b/.gitignore @@ -120,3 +120,6 @@ fabric.properties .idea/**/azureSettings.xml # End of https://www.toptal.com/developers/gitignore/api/intellij + +# Node +node_modules/ diff --git a/.woodpecker/.lint_general.yml b/.woodpecker/.lint_general.yml index d23b156..3f5157a 100644 --- a/.woodpecker/.lint_general.yml +++ b/.woodpecker/.lint_general.yml @@ -23,7 +23,7 @@ steps: image: node:lts-slim commands: - npm install --save-dev conventional-changelog-conventionalcommits @commitlint/config-conventional commitlint@latest - - echo "$CI_COMMIT_MESSAGE"x | npx commitlint + - echo "$CI_COMMIT_MESSAGE" | npx commitlint when: - branch: [main, dev] event: push diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..28fe5c5 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1 @@ +module.exports = {extends: ['@commitlint/config-conventional']}