Skip to content
/ linting Public

Standardized linting configurations for Beg.in projects

Notifications You must be signed in to change notification settings

Beg-in/linting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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');

About

Standardized linting configurations for Beg.in projects

Resources

Stars

Watchers

Forks

Packages

No packages published