Skip to content

Commit d61e363

Browse files
committed
init
0 parents  commit d61e363

28 files changed

+8041
-0
lines changed

.all-contributorsrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"projectName": "vue-hooks",
3+
"projectOwner": "u3u",
4+
"repoType": "github",
5+
"files": [
6+
"README.md"
7+
],
8+
"commit": false,
9+
"commitConvention": "none",
10+
"contributors": [
11+
{
12+
"login": "u3u",
13+
"name": "u3u",
14+
"avatar_url": "https://avatars2.githubusercontent.com/u/20062482?v=4",
15+
"profile": "https://qwq.cat",
16+
"contributions": [
17+
"code",
18+
"doc",
19+
"example",
20+
"test"
21+
]
22+
}
23+
]
24+
}

.babelrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": { "node": "current" }
7+
}
8+
],
9+
"@babel/preset-typescript"
10+
]
11+
}

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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
11+
12+
# Use 4 spaces for the Python files
13+
[*.py]
14+
indent_size = 4
15+
max_line_length = 80
16+
17+
# The JSON files contain newlines inconsistently
18+
[*.json]
19+
insert_final_newline = ignore
20+
21+
# Minified JavaScript files shouldn't be changed
22+
[**.min.js]
23+
indent_style = ignore
24+
insert_final_newline = ignore
25+
26+
# Makefiles always use tabs for indentation
27+
[Makefile]
28+
indent_style = tab
29+
30+
# Batch files use tabs for indentation
31+
[*.bat]
32+
indent_style = tab
33+
34+
[*.md]
35+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
lib/
3+
esm/

.eslintrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"extends": [
5+
"eslint-config-airbnb-base",
6+
"plugin:import/typescript",
7+
"plugin:prettier/recommended"
8+
],
9+
"env": {
10+
"browser": true,
11+
"es6": true,
12+
"node": true
13+
},
14+
"rules": {
15+
"no-undef": "off",
16+
"no-unused-vars": "off"
17+
}
18+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
lib/
3+
esm/

.nvmrc

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

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
package.json

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"singleQuote": true,
3+
"quoteProps": "consistent",
4+
"trailingComma": "all",
5+
"arrowParens": "always"
6+
}

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
3+
node_js: 10.16.0
4+
5+
install:
6+
- yarn
7+
8+
script:
9+
- yarn lint
10+
- yarn lint:types
11+
- yarn lint:prettier
12+
- yarn test
13+
14+
cache:
15+
yarn: true
16+
directories:
17+
- node_modules

0 commit comments

Comments
 (0)