0.1.1 • Published 7 years ago
eslint-plugin-jsbox v0.1.1
eslint-plugin-jsbox
An eslint plugin that provides environments and configs for jsbox
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-jsbox:
$ npm install eslint-plugin-jsbox --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-jsbox globally.
Usage
There are two ways to use this eslint plugin
- recommended use the configs provided by this plugin
- simply use environments provided by this plugin
1. use the configs
Your .eslintrc configuration can extend configs provided by this plugin.
{
  "extends": ["plugin:jsbox/default"]
}Then enjoy coding for jsbox !
2. simply use environments
First, add jsbox to the plugins section of your .eslintrc configuration file.
{
  "plugins": ["jsbox"]
}Then, add jsbox/default to the env section of your .eslintrc configuration file.
{
  "env": {
    "jsbox/default": true
  }
}Then enjoy coding for jsbox !