begin-linting
v0.1.0
Published
Standardized linting configurations for Beg.in projects
Downloads
2
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');