begin-project
v0.4.3
Published
Tools for all Beg.in projects
Downloads
7
Readme
begin-linting
Eslint
npm script
{
"scripts": {
"lint": "eslint --ignore-path .gitignore --format=node_modules/eslint-formatter-pretty ./"
}
}
Example
module.exports = require('begin-linting');
Server-side
For Node
Example
module.exports = require('begin-linting/node');
Client-side
For Webpack
Example
module.exports = require('begin-linting/webpack');
Testing
For Ava
Example
module.exports = require('begin-linting/ava');
pug-lint
npm script
{
"scripts": {
"lint:pug": "pug-lint --reporter node_modules/puglint-stylish src/"
}
}
Example
module.exports = require('begin-linting/pug');