eslint-plugin-jsbox

0.1.1 • Public • Published

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-dev

Next, install eslint-plugin-jsbox:

$ npm install eslint-plugin-jsbox --save-dev

Note: 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

  1. recommended use the configs provided by this plugin
  2. 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 !

Package Sidebar

Install

npm i eslint-plugin-jsbox

Weekly Downloads

2

Version

0.1.1

License

ISC

Unpacked Size

5.77 kB

Total Files

9

Last publish

Collaborators

  • equalma