This file contains hidden or 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
| npm i -y | |
| npx install-peerdeps --dev eslint-config-airbnb | |
| npx mrm lint-staged | |
| npm i -D @commitlint/cli @commitlint/config-conventional | |
| npm i -D semantic-release @semantic-release/changelog @semantic-release/git |
This file contains hidden or 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
| /^-{0,1}\d+(\.\d+)?$/.test(value) |
This file contains hidden or 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
| "rules": { | |
| "selector-class-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*((_{2})([a-z0-9]*)(-[a-z0-9]+)*)?((-{2})([a-z0-9]*)(-[a-z0-9]+)*)?$" | |
| } |
This file contains hidden or 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
| stages: | |
| - deploy | |
| before_script: | |
| - npm install | |
| cache: | |
| paths: | |
| - node_modules/ |
This file contains hidden or 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
| module.exports = { | |
| extends: [ | |
| '@commitlint/config-conventional' | |
| ], | |
| parserPreset: { | |
| parserOpts: { | |
| // issuePrefixes: ['[A-Z]-'], | |
| }, | |
| }, | |
| rules: { |