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 70672f1..b04b05e 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": "^5.2.0", "sinon": "^1.17.3", "supertest": "^1.2.0",