From 86b9a3970d4e45da42cf26a4a39a45df0beef100 Mon Sep 17 00:00:00 2001 From: YoshinoriN Date: Sat, 3 Nov 2018 21:10:22 +0900 Subject: [PATCH 1/2] chore(eslint): use eslint instead of jscs --- .jscsrc | 4 ---- .travis.yml | 1 - package.json | 7 ++----- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .jscsrc diff --git a/.jscsrc b/.jscsrc deleted file mode 100644 index 6cdb7d0..0000000 --- a/.jscsrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "excludeFiles": ["node_modules/**", "coverage/**", "tmp/**"], - "preset": "hexo" -} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 026357b..664c827 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,6 @@ node_js: script: - npm run eslint - - npm run jscs - npm run test-cov after_script: diff --git a/package.json b/package.json index 17217da..f09cd65 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "main": "index", "scripts": { "eslint": "eslint .", - "jscs": "jscs .", "test": "mocha test/index.js", "test-cov": "istanbul cover --print both _mocha -- test/index.js" }, @@ -25,12 +24,10 @@ }, "devDependencies": { "chai": "^3.4.1", - "eslint": "^1.10.3", - "eslint-config-hexo": "^1.0.2", + "eslint": "^5.8.0", + "eslint-config-hexo": "^3.0.0", "hexo-fs": "^0.2.0", "istanbul": "^0.4.1", - "jscs": "^2.7.0", - "jscs-preset-hexo": "^1.0.1", "mocha": "^2.3.4" }, "engines": { From f8baa741987d64e077e2be93574657c6444bff5a Mon Sep 17 00:00:00 2001 From: YoshinoriN Date: Mon, 5 Nov 2018 19:48:56 +0900 Subject: [PATCH 2/2] chore(ci): delete travisCI cache * travis ci has error, caused by cache --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 664c827..41eabb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,7 @@ language: node_js sudo: false -cache: - apt: true - directories: - - node_modules +cache: false node_js: - "6"