Skip to content

Commit a9bcc1e

Browse files
committed
chore: 🤖 refactor repository boilerplate
1 parent 98677ce commit a9bcc1e

9 files changed

+3532
-1
lines changed

‎.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = spaces
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

‎.eslintrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"settings": {
4+
"import/parsers": {
5+
"@typescript-eslint/parser": [".js", ".ts"]
6+
}
7+
},
8+
"plugins": ["@typescript-eslint"],
9+
"extends": [
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:import/typescript"
12+
]
13+
}

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
dist
12
node_modules

‎.huskyrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
4+
"pre-commit": "eslint --fix && pretty-quick --staged"
5+
}
6+
}

‎.prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

‎commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)