mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
chore: added editorconfig
- updated code style badge in readme - moved commitlint settings to package.json
This commit is contained in:
parent
e054744093
commit
e19409f4d9
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
[*.{js*,ts*}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
@ -3,7 +3,7 @@
|
|||||||
[](https://www.npmjs.com/package/env-cmd)
|
[](https://www.npmjs.com/package/env-cmd)
|
||||||
[](https://www.npmjs.com/package/env-cmd)
|
[](https://www.npmjs.com/package/env-cmd)
|
||||||
[](https://www.npmjs.com/package/env-cmd)
|
[](https://www.npmjs.com/package/env-cmd)
|
||||||
[](https://github.com/toddbluhm/ts-standard)
|
[](https://github.com/toddbluhm/ts-standard)
|
||||||
[](https://greenkeeper.io/)
|
[](https://greenkeeper.io/)
|
||||||
|
|
||||||
# env-cmd
|
# env-cmd
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
#! /usr/bin/env node
|
#! /usr/bin/env node
|
||||||
require('../dist').CLI(process.argv.slice(2))
|
require('../dist').CLI(process.argv.slice(2))
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
module.exports = { extends: ['@commitlint/config-conventional'] }
|
|
||||||
@ -109,5 +109,10 @@
|
|||||||
"hooks": {
|
"hooks": {
|
||||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"commitlint": {
|
||||||
|
"extends": [
|
||||||
|
"@commitlint/config-conventional"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user