Last active
April 3, 2020 12:19
-
-
Save dasheck0/d3163b847827cfc8b662c0971bde5079 to your computer and use it in GitHub Desktop.
[NPM Project boilerplate files] These are some npm boilerplate project files I use #npm #boilerplate #template
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
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
end_of_line = lf | |
# editorconfig-tools is unable to ignore longs strings or urls | |
max_line_length = 120 |
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
test | |
scripts | |
documentation | |
node_modules | |
*/generated | |
commitlint.config.js |
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
{ | |
"extends": "nanogiants" | |
} |
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
module.exports = { | |
rules: { | |
'body-leading-blank': [1, 'always'], | |
'footer-leading-blank': [1, 'always'], | |
'header-max-length': [2, 'always', 70], | |
'scope-case': [2, 'always', 'lower-case'], | |
'subject-case': [ | |
2, | |
'never', | |
['sentence-case', 'start-case', 'pascal-case', 'upper-case'] | |
], | |
'subject-empty': [2, 'never'], | |
'subject-full-stop': [2, 'never', '.'], | |
'type-case': [2, 'always', 'lower-case'], | |
'type-empty': [2, 'never'], | |
'type-enum': [ | |
2, | |
'always', | |
[ | |
'feat', | |
'fix', | |
'docs', | |
'style', | |
'refactor', | |
'test', | |
'chore' | |
] | |
] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment