2.2.9 • Published 4 years ago
eslint-plugin-zero-config v2.2.9
eslint-plugin-zero-config
A complete ESLint plugin for javascript projects
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-zero-config:
$ npm install eslint-plugin-zero-config --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-zero-config globally.
Usage
Plugin
Add eslint-plugin to the plugins section of your .eslintrc configuration file:
{
"plugins": [
"zero-config"
]
}Configs
Add zero-config plugin and extend your config with zero-conifg!
Available Configs
plugin:zero-config/recommended- recommended config for all environmentsplugin:zero-config/browser- browser configplugin:zero-config/node- node.js configplugin:zero-config/ember- ember.js config
Remember! There is no need to include a few of them. Each of them are fully configured to bring best possible experience
Example:
{
"plugins": ["zero-config"],
"extends": ["plugin:zero-config/node"]
}