{
"scripts": {
"lint": "eslint --ignore-path .gitignore --format=node_modules/eslint-formatter-pretty ./"
}
}
Example
module.exports = require('begin-linting');
Example
module.exports = require('begin-linting/node');
For Webpack
Example
module.exports = require('begin-linting/webpack');
For Ava
Example
module.exports = require('begin-linting/ava');
{
"scripts": {
"lint:pug": "pug-lint --reporter node_modules/puglint-stylish src/"
}
}
Example
module.exports = require('begin-linting/pug');