Skip to content

northbrookjs/eslint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Northbrook ESLint

Lint your projects with ESLint

Installation

npm install --save-dev @northbrook/eslint

northbrook.js

const eslint = require('@northbrook/eslint').plugin

module.exports = {
  plugins: [ eslint ]
}

API and configurations

northbrook eslint

Run ESLint on all of your source code files. Will look for a .eslintrc at the root of your northbrook project, but will fallback to using eslint-config-standard.

Options

Inside of your northbrook.js

{
  // all 100% optional
  eslint: {
    // default : ['src/']
    "directories": ["lib/**/*.js"], // paths to lint - supports globs
    // default: 'stylish'
    "formatter": "table" // allows you to specify
  }
}

About

Northbrook Plugin for ESLint

Resources

Stars

Watchers

Forks

Packages

No packages published