Skip to content

Commit e2c4b20

Browse files
greenkeeper[bot]peol
authored andcommitted
Update dependencies to enable Greenkeeper 🌴 (qlik-oss#109)
* chore(package): update dependencies * docs(readme): add Greenkeeper badge * Lock down ESLint and fix new lint findings * Bump jsdoc to master until 3.5.0 is released
1 parent 474ab88 commit e2c4b20

21 files changed

+6321
-5045
lines changed

.babelrc

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2-
"presets": ["es2015"],
3-
"plugins": ["transform-object-assign"]
2+
"presets": [["es2015", { "modules": false }]],
3+
"plugins": ["transform-object-assign"],
4+
"env": {
5+
"test": {
6+
"plugins": ["transform-es2015-modules-commonjs"]
7+
}
8+
}
49
}

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"parserOptions": {
66
"sourceType": "module"
77
},
8-
"extends": "airbnb/base",
8+
"extends": "airbnb-base",
99
"rules": {
1010
"import/no-extraneous-dependencies": 0,
11+
"import/no-webpack-loader-syntax": 0,
1112
"no-param-reassign": 0,
1213
"class-methods-use-this": 0
1314
}

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ performs CRUD (create, read, update and delete) operations on apps and other ent
1212

1313
## Documentation
1414

15+
[![Greenkeeper badge](https://badges.greenkeeper.io/qlik-oss/enigma.js.svg)](https://greenkeeper.io/)
16+
1517
- [Overview](docs/README.md)
1618
- [Authentication](docs/authentication.md)
1719
- [QIX Service](docs/qix/README.md)

examples/car-models/src/chart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function paintBarchart(element, layout) {
4141
}
4242

4343
function roundNumber(value, nrDecimals) {
44-
const multiplier = Math.pow(10, nrDecimals);
44+
const multiplier = 10 ** nrDecimals;
4545
return Math.round(value * multiplier) / multiplier;
4646
}
4747

0 commit comments

Comments
 (0)