From 68b82ba51b070cec971e441b0b97f74b27102fca Mon Sep 17 00:00:00 2001 From: Rhio Kim Date: Tue, 18 Apr 2017 14:48:57 +0900 Subject: [PATCH] fix(deps): eslint configuration out of date and update some other deps --- .eslintrc.json | 16 +++++++++++++--- package.json | 32 +++++++++++++++++++++++--------- yarn.lock | 19 ++++--------------- 3 files changed, 40 insertions(+), 27 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c906aa9..1cae351 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,17 @@ { - "root": true, - "extends": "standard", "env": { - "node": true + "node": true, + "es6": true + }, + "ecmaFeatures": { + "modules": true, + "destructuring": true + }, + "globals": { + }, + "plugins": [], + "extends": ["standard"], + "rules": { + "object-property-newline": "off" } } diff --git a/package.json b/package.json index 239b776..494da4c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,21 @@ "commitmsg": "npm run lint:msg" }, "eslintConfig": { - "extends": "standard" + "env": { + "node": true, + "es6": true + }, + "ecmaFeatures": { + "modules": true, + "destructuring": true + }, + "globals": { + }, + "plugins": [], + "extends": ["standard"], + "rules": { + "object-property-newline": "off" + } }, "config": { "validate-commit-msg": { @@ -33,21 +47,21 @@ "devDependencies": { "chai": "^3.5.0", "commitizen": "^2.9.6", - "conventional-changelog-cli": "^1.2.0", - "coveralls": "^2.12.0", - "eslint": "^3.17.1", - "eslint-config-standard": "^7.0.1", + "conventional-changelog-cli": "^1.3.1", + "coveralls": "^2.13.0", + "eslint": "^3.19.0", + "eslint-config-standard": "^10.2.1", "eslint-formatter-pretty": "^1.1.0", "eslint-plugin-import": "^2.2.0", - "eslint-plugin-node": "^4.2.0", + "eslint-plugin-node": "^4.2.2", "eslint-plugin-promise": "^3.5.0", - "eslint-plugin-standard": "^2.1.1", - "husky": "^0.13.2", + "eslint-plugin-standard": "^3.0.1", + "husky": "^0.13.3", "istanbul": "^0.4.5", "mocha": "^3.2.0", "nyc": "^10.2.0", "sinon": "^2.1.0", "sinon-chai": "^2.9.0", - "validate-commit-msg": "^2.11.2" + "validate-commit-msg": "^2.12.1" } } diff --git a/yarn.lock b/yarn.lock index 1b08839..59e9f88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -837,9 +837,9 @@ escope@^3.6.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-config-standard@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-7.0.1.tgz#6cec96084de9ac862c33ccb953d13a7c59872342" +eslint-config-standard@^10.2.1: + version "10.2.1" + resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-10.2.1.tgz#c061e4d066f379dc17cd562c64e819b4dd454591" eslint-formatter-pretty@^1.1.0: version "1.1.0" @@ -949,10 +949,6 @@ esprima@2.7.x, esprima@^2.6.0, esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" -esprima@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" - esrecurse@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220" @@ -1720,20 +1716,13 @@ js-tokens@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" -js-yaml@3.6.1: +js-yaml@3.6.1, js-yaml@3.x, js-yaml@^3.5.1: version "3.6.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30" dependencies: argparse "^1.0.7" esprima "^2.6.0" -js-yaml@3.x, js-yaml@^3.5.1: - version "3.8.2" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.2.tgz#02d3e2c0f6beab20248d412c352203827d786721" - dependencies: - argparse "^1.0.7" - esprima "^3.1.1" - jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"