eslint-defaults
v0.3.2
Published
Smarter default configuration based on project structure and libraries used
Downloads
191
Readme
eslint-defaults
Smarter default configuration based on project structure and libraries used.
Installing
eslint-defaults
is available as an
npm package.
Usage
eslint
All CLI flags are supported, and .eslintrc
will be used if it exists.
However, when using -c
(--config
), the included default configuration will
not be used. The defaults can be re-included as follows:
module.exports = {
extends: require.resolve('eslint-defaults/lib/config');
}
By default, files and patterns listed in .gitignore
will not be linted.
Development
Getting Started
The application requires the following external dependencies:
- Node.js
The rest of the dependencies are handled through:
npm install
Run tests with:
npm test