Skip to content

Commit

Permalink
Merge pull request #82 from launchdarkly/1.7.0
Browse files Browse the repository at this point in the history
Prepare 1.7.0
  • Loading branch information
apucacao authored Apr 27, 2018
2 parents 5a0eebe + e201ff7 commit 13456be
Show file tree
Hide file tree
Showing 43 changed files with 10,055 additions and 4,245 deletions.
45 changes: 45 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"env": {
"test": {
"presets": [
[
"env",
{
"targets": {
"browsers": ["last 2 versions"]
}
}
],
"stage-1"
]
},
"development": {
"presets": [
[
"env",
{
"targets": {
"browsers": ["last 2 versions", "ie >= 11"]
},
"modules": false
}
],
"stage-1"
]
},
"production": {
"presets": [
[
"env",
{
"targets": {
"browsers": ["last 2 versions", "ie >= 10"]
},
"modules": false
}
],
"stage-1"
]
}
}
}
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
- checkout
- run: npm install
- run: mkdir -p reports/junit
- run: npm run lint:all
- run:
command: npm test
command: npm run test:junit
environment:
JUNIT_REPORT_PATH: "./reports/junit/"
JUNIT_REPORT_NAME: "js-test-results.xml"
JEST_JUNIT_OUTPUT: "./reports/junit/js-test-results.xml"
- store_test_results:
path: reports/junit/
- store_artifacts:
Expand Down
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
coverage/
dist/
22 changes: 0 additions & 22 deletions .eslintrc

This file was deleted.

55 changes: 55 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
parser: babel-eslint
extends:
- prettier
env:
es6: true
node: true
browser: true
plugins:
- babel
- prettier
globals:
VERSION: true
rules:
prettier/prettier:
- error
array-callback-return: error
curly:
- error
- all
no-implicit-coercion:
- 'off'
- boolean: false
number: true
string: true
allow: []
no-eval: error
no-implied-eval: error
no-param-reassign:
- error
- props: true
no-return-assign: error
no-self-compare: error
radix: error
no-array-constructor: error
no-new-wrappers: error
no-cond-assign: error
no-use-before-define:
- error
- functions: false
eqeqeq: error

# Deprecations are required to turn enforce this
camelcase: warn

no-new-object: error
no-nested-ternary: error
no-unused-vars: error
no-var: error
prefer-const: error
prefer-arrow-callback: error
arrow-body-style:
- error
- as-needed
babel/semi: error
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
**/junit.xml
npm-debug.log
yarn-error.log
node_modules
dist
.idea
.idea
.vscode/
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package.json
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120
}
Loading

0 comments on commit 13456be

Please sign in to comment.