Skip to content

Commit

Permalink
src: added --fix option to eslint to solve common lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Jul 19, 2019
1 parent 1609d29 commit 05d800e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"nodeshift": "./bin/nodeshift"
},
"scripts": {
"lint": "eslint bin/* lib/**/*.js test/*-test.js test/**/*-test.js index.js",
"lint": "eslint --fix bin/* lib/**/*.js test/*-test.js test/**/*-test.js index.js",
"test": "cross-env NODESHIFT_QUIET=true tape test/*-test.js test/**/*-test.js | tap-spec",
"coverage": "nyc npm test",
"coverage:html": "nyc npm test && nyc report --reporter=html",
Expand Down
2 changes: 0 additions & 2 deletions test/project-archiver-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
const test = require('tape');
const proxyquire = require('proxyquire');



test('test default build location', (t) => {
const projectArchiver = require('../lib/project-archiver');
t.equals(projectArchiver.DEFAULT_BUILD_LOCATION, 'tmp/nodeshift/build', 'tmp/nodeshift/build should be the default directory');
Expand Down

0 comments on commit 05d800e

Please sign in to comment.