-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use better prettier standards
- Loading branch information
Showing
54 changed files
with
2,958 additions
and
2,861 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,7 +1,7 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
'header-max-length': [0, 'always', 100], | ||
'scope-case': [0, 'always', 'pascal-case'] | ||
} | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
'header-max-length': [0, 'always', 100], | ||
'scope-case': [0, 'always', 'pascal-case'] | ||
} | ||
}; |
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,47 +1,47 @@ | ||
module.exports = { | ||
types: [ | ||
{ value: 'feat', name: '✨ feat:\tAdding a new feature' }, | ||
{ value: 'fix', name: '🐛 fix:\tFixing a bug' }, | ||
{ value: 'docs', name: '📝 docs:\tAdd or update documentation' }, | ||
{ | ||
value: 'style', | ||
name: '💄 style:\tAdd or update styles, ui or ux' | ||
}, | ||
{ | ||
value: 'refactor', | ||
name: '♻️ refactor:\tCode change that neither fixes a bug nor adds a feature' | ||
}, | ||
{ | ||
value: 'perf', | ||
name: '⚡️ perf:\tCode change that improves performance' | ||
}, | ||
{ | ||
value: 'test', | ||
name: '✅ test:\tAdding tests cases' | ||
}, | ||
{ | ||
value: 'chore', | ||
name: '🚚 chore:\tChanges to the build process or auxiliary tools\n\t\tand libraries such as documentation generation' | ||
}, | ||
{ value: 'revert', name: '⏪️ revert:\tRevert to a commit' }, | ||
{ | ||
value: 'build', | ||
name: '👷 build:\tAdd or update regards to build process' | ||
}, | ||
{ | ||
value: 'ci', | ||
name: '💚 ci:\tAdd or update regards to build process' | ||
} | ||
], | ||
scopes: [], | ||
types: [ | ||
{ value: 'feat', name: '✨ feat:\tAdding a new feature' }, | ||
{ value: 'fix', name: '🐛 fix:\tFixing a bug' }, | ||
{ value: 'docs', name: '📝 docs:\tAdd or update documentation' }, | ||
{ | ||
value: 'style', | ||
name: '💄 style:\tAdd or update styles, ui or ux' | ||
}, | ||
{ | ||
value: 'refactor', | ||
name: '♻️ refactor:\tCode change that neither fixes a bug nor adds a feature' | ||
}, | ||
{ | ||
value: 'perf', | ||
name: '⚡️ perf:\tCode change that improves performance' | ||
}, | ||
{ | ||
value: 'test', | ||
name: '✅ test:\tAdding tests cases' | ||
}, | ||
{ | ||
value: 'chore', | ||
name: '🚚 chore:\tChanges to the build process or auxiliary tools\n\t\tand libraries such as documentation generation' | ||
}, | ||
{ value: 'revert', name: '⏪️ revert:\tRevert to a commit' }, | ||
{ | ||
value: 'build', | ||
name: '👷 build:\tAdd or update regards to build process' | ||
}, | ||
{ | ||
value: 'ci', | ||
name: '💚 ci:\tAdd or update regards to build process' | ||
} | ||
], | ||
scopes: [], | ||
|
||
scopeOverrides: { | ||
fix: [{ name: 'merge' }, { name: 'style' }, { name: 'test' }, { name: 'hotfix' }] | ||
}, | ||
scopeOverrides: { | ||
fix: [{ name: 'merge' }, { name: 'style' }, { name: 'test' }, { name: 'hotfix' }] | ||
}, | ||
|
||
allowCustomScopes: true, | ||
allowBreakingChanges: ['feat', 'fix'], | ||
// skip any questions you want | ||
skipQuestions: ['scope', 'footer', 'breaking'], | ||
subjectLimit: 100 | ||
allowCustomScopes: true, | ||
allowBreakingChanges: ['feat', 'fix'], | ||
// skip any questions you want | ||
skipQuestions: ['scope', 'footer', 'breaking'], | ||
subjectLimit: 100 | ||
}; |
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,13 +1,13 @@ | ||
{ | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 120, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"overrides": [ | ||
{ | ||
"files": "*.svelte", | ||
"options": { "parser": "svelte" } | ||
} | ||
] | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"bracketSameLine": true, | ||
"semi": true, | ||
"singleQuote": true, | ||
"arrowParens": "avoid" | ||
} |
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,22 +1,22 @@ | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/Thumbs.db": true, | ||
"node_modules": true, | ||
".vscode": true, | ||
".husky": true | ||
}, | ||
"hide-files.files": ["node_modules", ".vscode", ".husky"], | ||
"files.eol": "\n", | ||
"editor.insertSpaces": false, | ||
"[typescript]": { | ||
"editor.tabSize": 4 | ||
}, | ||
"[javascript]": { | ||
"editor.tabSize": 4 | ||
} | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/Thumbs.db": true, | ||
"node_modules": true, | ||
".vscode": true, | ||
".husky": true | ||
}, | ||
"hide-files.files": ["node_modules", ".vscode", ".husky"], | ||
"files.eol": "\n", | ||
"editor.insertSpaces": false, | ||
"[typescript]": { | ||
"editor.tabSize": 4 | ||
}, | ||
"[javascript]": { | ||
"editor.tabSize": 4 | ||
} | ||
} |
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
Oops, something went wrong.