Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
chore(project): add config files
Browse files Browse the repository at this point in the history
Signed-off-by: Rai Siqueira <rai93siqueira@gmail.com>
  • Loading branch information
raisiqueira authored and felipebonezi committed Jun 3, 2022
1 parent 169123c commit c19f54c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dist
/coverage
17 changes: 15 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
{
"printWidth": 100,
"parser": "typescript",
"semi": true,
"singleQuote": true,
"trailingComma": "all"
"trailingComma": "all",
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
},
{
"files": "*.ts",
"options": {
"parser": "typescript"
}
}
]
}
9 changes: 9 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const scopes = ['project', 'mask-directive', 'validators', 'pagination'];

module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', scopes],
'header-max-length': [2, 'always', 100],
},
};

0 comments on commit c19f54c

Please sign in to comment.