amaze-eslint
v0.1.5
Published
Amaze eslint default configurations.
Downloads
8
Readme
Amaze - ESLint
These rules dictate the JavaScript linting standards endorsed by Amaze Ltd.
Installation
Install Node dependencies
npm install
Usage
Ensure an initial .eslintrc.js exists in the target directory with appropriate configuration options:
Example '.eslintrc.js'
module.exports = { 'extends': [ 'amaze-eslint', // Additional rule sets... 'amaze-eslint/rules/es6' ].map(require.resolve), 'env': { // Environment settings... 'browser': true }, // Local override rules... 'rules': {} };
Run eslint standalone (provided eslint is installed globally) with:
eslint <DIRECTORY>
Or via other workflow tooling designed to interface with the eslint API.
Links
- ESLint Documentation
- Amaze JavaScript Styleguide (Confluence internal link)