Skip to content

Commit a854ba0

Browse files
committed
seeded project
1 parent 9cc78a7 commit a854ba0

13 files changed

+8087
-0
lines changed

.babelrc

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"targets": {
7+
"node": "12"
8+
},
9+
"useBuiltIns": true,
10+
"debug": false
11+
}
12+
],
13+
"stage-2"
14+
],
15+
"env": {
16+
"test": {
17+
"plugins": [
18+
"istanbul"
19+
]
20+
}
21+
}
22+
}

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
trim_trailing_whitespace = true
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
# Set default charset
13+
[*.{js,ts,css,json}]
14+
charset = utf-8
15+
indent_style = space
16+
indent_size = 2
17+
18+
# Matches the exact files package.json
19+
[{package.json}]
20+
indent_style = space
21+
indent_size = 2

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
tools/
2+
lib/
3+
coverage/
4+
_bak/

.eslintrc.js

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
module.exports = {
2+
"parser": "babel-eslint",
3+
"extends": "airbnb-base",
4+
"plugins": [],
5+
"env": {
6+
"node": true,
7+
"mocha": true,
8+
"commonjs": true
9+
},
10+
"parserOptions": {
11+
"ecmaVersion": 6,
12+
"sourceType": "module",
13+
},
14+
"rules": {
15+
"no-unused-expressions": 0,
16+
"linebreak-style": 0,
17+
"max-len": [1, 140, 2, { ignoreComments: true, ignoreStrings: true }],
18+
"quote-props": [1, "consistent-as-needed"],
19+
"no-cond-assign": [2, "except-parens"],
20+
"space-infix-ops": 0,
21+
"no-unused-vars": [1, { "vars": "local", "args": "none" }],
22+
"default-case": 0,
23+
"no-else-return": 0,
24+
"no-param-reassign": 0,
25+
"comma-dangle": 1,
26+
"indent": 1,
27+
"object-curly-spacing": 1,
28+
"arrow-body-style": 1,
29+
"no-console": 0,
30+
"prefer-template": 1,
31+
"import/no-unresolved": 1,
32+
"import/no-extraneous-dependencies": [2, { "devDependencies": ["**/test/**/*.js"] }],
33+
"global-require": 1,
34+
"no-underscore-dangle": 0,
35+
"new-cap": 0,
36+
"no-use-before-define": 0,
37+
"no-useless-escape": 0,
38+
"class-methods-use-this": 0,
39+
},
40+
"globals": {}
41+
};

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
lib
3+
.DS_Store
4+
*.log
5+
.nyc_output
6+
coverage

.npmignore

Whitespace-only changes.

.nycrc

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"lines": 100,
3+
"statements": 100,
4+
"functions": 100,
5+
"branches": 100,
6+
"include": [
7+
"src/**/*.js"
8+
],
9+
"exclude": [
10+
"test/int/**/*.test.js",
11+
"test/unit/**/*.test.js"
12+
],
13+
"require": [],
14+
"reporter": [
15+
"text",
16+
"lcov",
17+
"html",
18+
"text-summary"
19+
],
20+
"sourceMap": false,
21+
"instrument": false,
22+
"cache": false,
23+
"check-coverage": true,
24+
"all": true
25+
}

0 commit comments

Comments
 (0)