Skip to content

Commit

Permalink
Merge pull request #10 from YoshinoriN/use-eslint-and-delete-jscs
Browse files Browse the repository at this point in the history
chore(eslint): use eslint instead of jscs
  • Loading branch information
yoshinorin committed Nov 5, 2018
2 parents b7f1f5c + f8baa74 commit 1740822
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .jscsrc

This file was deleted.

6 changes: 1 addition & 5 deletions .travis.yml
Expand Up @@ -2,18 +2,14 @@ language: node_js

sudo: false

cache:
apt: true
directories:
- node_modules
cache: false

node_js:
- "6"
- "node"

script:
- npm run eslint
- npm run jscs
- npm run test-cov

after_script:
Expand Down
7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -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"
},
Expand All @@ -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": {
Expand Down

0 comments on commit 1740822

Please sign in to comment.