Skip to content

Commit 13456be

Browse files
authored
Merge pull request #82 from launchdarkly/1.7.0
Prepare 1.7.0
2 parents 5a0eebe + e201ff7 commit 13456be

Some content is hidden

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

43 files changed

+10055
-4245
lines changed

.babelrc

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"env": {
3+
"test": {
4+
"presets": [
5+
[
6+
"env",
7+
{
8+
"targets": {
9+
"browsers": ["last 2 versions"]
10+
}
11+
}
12+
],
13+
"stage-1"
14+
]
15+
},
16+
"development": {
17+
"presets": [
18+
[
19+
"env",
20+
{
21+
"targets": {
22+
"browsers": ["last 2 versions", "ie >= 11"]
23+
},
24+
"modules": false
25+
}
26+
],
27+
"stage-1"
28+
]
29+
},
30+
"production": {
31+
"presets": [
32+
[
33+
"env",
34+
{
35+
"targets": {
36+
"browsers": ["last 2 versions", "ie >= 10"]
37+
},
38+
"modules": false
39+
}
40+
],
41+
"stage-1"
42+
]
43+
}
44+
}
45+
}

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
- checkout
88
- run: npm install
99
- run: mkdir -p reports/junit
10+
- run: npm run lint:all
1011
- run:
11-
command: npm test
12+
command: npm run test:junit
1213
environment:
13-
JUNIT_REPORT_PATH: "./reports/junit/"
14-
JUNIT_REPORT_NAME: "js-test-results.xml"
14+
JEST_JUNIT_OUTPUT: "./reports/junit/js-test-results.xml"
1515
- store_test_results:
1616
path: reports/junit/
1717
- store_artifacts:

.eslintignore

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

.eslintrc

Lines changed: 0 additions & 22 deletions
This file was deleted.

.eslintrc.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
parser: babel-eslint
3+
extends:
4+
- prettier
5+
env:
6+
es6: true
7+
node: true
8+
browser: true
9+
plugins:
10+
- babel
11+
- prettier
12+
globals:
13+
VERSION: true
14+
rules:
15+
prettier/prettier:
16+
- error
17+
array-callback-return: error
18+
curly:
19+
- error
20+
- all
21+
no-implicit-coercion:
22+
- 'off'
23+
- boolean: false
24+
number: true
25+
string: true
26+
allow: []
27+
no-eval: error
28+
no-implied-eval: error
29+
no-param-reassign:
30+
- error
31+
- props: true
32+
no-return-assign: error
33+
no-self-compare: error
34+
radix: error
35+
no-array-constructor: error
36+
no-new-wrappers: error
37+
no-cond-assign: error
38+
no-use-before-define:
39+
- error
40+
- functions: false
41+
eqeqeq: error
42+
43+
# Deprecations are required to turn enforce this
44+
camelcase: warn
45+
46+
no-new-object: error
47+
no-nested-ternary: error
48+
no-unused-vars: error
49+
no-var: error
50+
prefer-const: error
51+
prefer-arrow-callback: error
52+
arrow-body-style:
53+
- error
54+
- as-needed
55+
babel/semi: error

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.DS_Store
22
**/junit.xml
33
npm-debug.log
4+
yarn-error.log
45
node_modules
56
dist
6-
.idea
7+
.idea
8+
.vscode/

.prettierignore

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

.prettierrc

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

0 commit comments

Comments
 (0)