Commit b86f6a2d authored by Tim Oxley's avatar Tim Oxley Committed by Guillermo Rauch

Ensure bin files are linted. Fix lint issue in bin/next-init. (#158)

parent a3548a67
...@@ -50,7 +50,7 @@ const basePackage = `{ ...@@ -50,7 +50,7 @@ const basePackage = `{
} }
}` }`
const basePage =` const basePage = `
import React from 'react' import React from 'react'
export default () => <p>Hello, world</p> export default () => <p>Hello, world</p>
` `
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
}, },
"scripts": { "scripts": {
"build": "gulp", "build": "gulp",
"test": "standard && gulp test", "test": "npm run lint && gulp test",
"lint": "standard", "lint": "standard && standard bin/*",
"prepublish": "gulp release", "prepublish": "gulp release",
"precommit": "npm run lint" "precommit": "npm run lint"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment