Skip to content

Commit 05bf7e1

Browse files
authored
feat: init repo (#1)
feat: init repo
2 parents 2a610c9 + fa8ad32 commit 05bf7e1

28 files changed

+7990
-2
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
extends: ['@mjolnir/eslint-config/node', 'plugin:prettier/recommended'],
3+
rules: {}
4+
};

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# OS junk files
2+
.DS_Store
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
11+
# Coverage directory used by tools like istanbul
12+
coverage
13+
14+
# build
15+
dist/
16+
17+
# Dependency directories
18+
node_modules/
19+
20+
# Optional npm cache directory
21+
.npm
22+
23+
# Optional eslint cache
24+
.eslintcache
25+
26+
# Optional REPL history
27+
.node_repl_history
28+
29+
# Output of 'npm pack'
30+
*.tgz
31+
32+
# Yarn Integrity file
33+
.yarn-integrity
34+
35+
# dotenv environment variables file
36+
.env
37+
38+
# lerna
39+
.changelog/
40+

.huskyrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
$schema: 'http://json.schemastore.org/huskyrc',
3+
hooks: {
4+
'pre-commit': 'lint-staged'
5+
}
6+
};

.lintstagedrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
$schema: 'http://json.schemastore.org/lintstagedrc.schema',
3+
'**/*.{js, ts}': ['prettier --write', 'eslint --fix', 'git add']
4+
};

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/*.svg
2+
**/*.ejs
3+
**/*.html
4+
package.json

.prettierrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
printWidth: 80,
3+
singleQuote: true,
4+
arrowParens: 'always'
5+
};

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
{ "language": "typescriptreact", "autoFix": true }
77
],
88
"cSpell.words": [
9-
"mjolnir"
9+
"repo",
10+
"mjolnir",
11+
"mjolnirjs"
1012
]
1113
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CHANGELOG
2+
3+
This project adheres to [Semantic Versioning](http://semver.org/).
4+
See all notable changes on [Releases](https://github.com/mjolnir/template-monorepo-libs/releases) page.

0 commit comments

Comments
 (0)