From cca628ad98d416dc4e63cb2aca96ab2742f5bb41 Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 26 Oct 2018 10:36:40 +0900 Subject: [PATCH] Move jscs to eslint --- .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 179eab4..b3d9c99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,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 c56bd91..ba6ae9f 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" }, @@ -36,13 +35,11 @@ }, "devDependencies": { "chai": "^3.4.1", - "eslint": "^1.10.3", - "eslint-config-hexo": "^1.0.2", + "eslint": "^5.7.0", + "eslint-config-hexo": "^3.0.0", "hexo": "^3.7.1", "hexo-fs": "^1.0.0", "istanbul": "^0.4.1", - "jscs": "^2.6.0", - "jscs-preset-hexo": "^1.0.1", "mocha": "^2.3.4", "sinon": "^1.17.3", "supertest": "^1.2.0",