0.2.4 • Published 9 years ago

incepto-eslint v0.2.4

Weekly downloads
5
License
MIT
Repository
-
Last release
9 years ago

Incepto - ESLint

These rules dictate the JavaScript linting standards endorsed by Amaze Ltd.

Installation

  1. Install Node dependencies

    npm install

Usage

  1. Ensure an initial .eslintrc.js exists in the target directory with appropriate configuration options:

    Example '.eslintrc.js'

    module.exports = {
    	'extends': [
    		'incepto-eslint',
    		// Additional rule sets...
    		'incepto-eslint/rules/es6'
    	].map(require.resolve),
    	'env': {
    		// Environment settings...
    		'browser': true
    	},
    	// Local override rules...
    	'rules': {}
    };
  2. Run eslint standalone with:

    eslint <DIRECTORY>

Or via other workflow tooling designed to interface with the eslint API.

Links