Skip to content

Commit c874ab8

Browse files
Merge branch 'release/1.0.0'
2 parents 18ccf2b + 688046c commit c874ab8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+4611
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
insert_final_newline = true
10+
indent_style = tab
11+
12+
[{package.json,package-lock.json}]
13+
indent_style = space
14+
indent_size = 2

.eslintignore

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

.eslintrc.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"airbnb-base",
5+
"plugin:jest/recommended",
6+
"plugin:@typescript-eslint/eslint-recommended",
7+
"plugin:@typescript-eslint/recommended",
8+
"prettier",
9+
"prettier/@typescript-eslint"
10+
],
11+
"parserOptions": {
12+
"ecmaVersion": 2018
13+
},
14+
"rules": {
15+
"import/no-cycle": "off",
16+
"import/no-extraneous-dependencies": [
17+
"error",
18+
{
19+
"devDependencies": ["**/*.spec.{js,ts}", "**/jest.config.js"]
20+
}
21+
],
22+
"import/no-unresolved": [
23+
"error",
24+
{
25+
"ignore": [
26+
"history",
27+
// Workaround for alexgorbatchev/eslint-import-resolver-typescript#17
28+
"regexp-tree/ast",
29+
"RegexColorizer"
30+
]
31+
}
32+
],
33+
"import/prefer-default-export": "off",
34+
"no-else-return": "off",
35+
"no-plusplus": "off",
36+
// This rule excludes too many escape sequences we need, like \p
37+
"no-useless-escape": "off",
38+
// Allow ForOfStatement, preserve the rest of Airbnb's restrictions
39+
"no-restricted-syntax": [
40+
"error",
41+
"ForInStatement",
42+
"LabeledStatement",
43+
"WithStatement"
44+
],
45+
"@typescript-eslint/explicit-function-return-type": "off"
46+
},
47+
"settings": {
48+
"import/parsers": {
49+
"@typescript-eslint/parser": [".ts"]
50+
},
51+
"import/resolver": {
52+
"typescript": {}
53+
}
54+
}
55+
}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package-lock.json
2+
3+
coverage/
4+
demo/lib/
5+
node_modules/
6+
lib/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.prettierignore

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

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "es5",
4+
"useTabs": true
5+
}

.publishrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"validations": {
3+
"vulnerableDependencies": false,
4+
"uncommittedChanges": true,
5+
"untrackedFiles": true,
6+
"sensitiveData": true,
7+
"branch": "master",
8+
"gitTag": true
9+
},
10+
"confirm": true,
11+
"publishCommand": "npm publish",
12+
"publishTag": "latest",
13+
"prePublishScript": "npm run publish-please-prereqs",
14+
"postPublishScript": false
15+
}

.snyk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- 'node'
4+
- '8'
5+
script:
6+
- npm run travisci
7+
cache:
8+
directories:
9+
- node_modules

0 commit comments

Comments
 (0)