mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Bump eslint from 4.18.2 to 7.0.0 (#60)
* Bump eslint from 4.18.2 to 7.0.0 Bumps [eslint](https://github.com/eslint/eslint) from 4.18.2 to 7.0.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v4.18.2...v7.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix linting Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Elliot Lee <github.public@intelliot.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"babel-loader": "^6.2.4",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-register": "^6.8.0",
|
||||
"eslint": "^4.18.2",
|
||||
"eslint": "^7.0.0",
|
||||
"fs-extra": "^9.0.0",
|
||||
"intercept-stdout": "^0.1.2",
|
||||
"istanbul": "~0.4.3",
|
||||
@@ -37,7 +37,7 @@
|
||||
"compile": "babel --optional runtime -d distrib/npm/ src/ && cp src/enums/definitions.json distrib/npm/enums",
|
||||
"prepublish": "npm test && npm run lint && npm run compile",
|
||||
"test": "istanbul test _mocha",
|
||||
"lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/es6/eslintrc'; echo 'parser: babel-eslint' >> eslintrc; fi; eslint -c eslintrc src/**/*.js test/*.js examples/*.js"
|
||||
"lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/es6/eslintrc'; echo 'parser: babel-eslint' >> eslintrc; fi; eslint -c eslintrc src/**/*.js test/*.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -77,7 +77,7 @@ function assertEqualAmountJSON(actual, expected) {
|
||||
assert.equal(actual.issuer, expected.issuer);
|
||||
assert(actual.value === expected.value ||
|
||||
new Decimal(actual.value).equals(
|
||||
new Decimal(expected.value)));
|
||||
new Decimal(expected.value)));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user