Skip to content

Commit

Permalink
use ESLint codeframe formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Nov 4, 2016
1 parent e9e9112 commit 1c2e035
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": "shinnn/file-or-stdout",
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"pretest": "eslint --fix --config @shinnn/node index.js test.js test-stdin.js",
"pretest": "eslint --fix --format=codeframe index.js test.js test-stdin.js",
"test-only": "node test.js && node test-stdin.js < .gitattributes",
"test": "npm run-script test-only --silent",
"coverage": "nyc npm run-script test-only --silent"
Expand Down Expand Up @@ -33,9 +33,12 @@
},
"devDependencies": {
"@shinnn/eslint-config-node": "^3.0.0",
"eslint": "^3.4.0",
"eslint": "^3.9.1",
"loud-rejection": "^1.6.0",
"nyc": "^8.1.0",
"tape": "^4.6.0"
"nyc": "^8.4.0",
"tape": "^4.6.2"
},
"eslintConfig": {
"extends": "@shinnn/node"
}
}

0 comments on commit 1c2e035

Please sign in to comment.