eslint-config-gunpla

1.0.0 • Public • Published

eslint-config-gunpla

This package provides Gunpla's base JS .eslintrc as an extensible shared config.

Usage

eslint-config-gunpla

Our default export contains all of our ESLint rules, including ECMAScript 6.

First, install this package

npm install --save-dev eslint-config-gunpla eslint

Then add following contents to your .eslintrc file

{
  "extends": "gunpla"
}

eslint-config-gunpla/legacy

For some legacy project using es5.

First, install this package

npm install --save-dev eslint-config-gunpla eslint

Then add following contents to your .eslintrc file

{
  "extends": "gunpla/legacy"
}

eslint-config-gunpla/react

First, install this package and necessary plugins

npm install --save-dev eslint-config-gunpla eslint babel-eslint eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y

Then add following contents to your .eslintrc file

{
  "extends": "gunpla/react"
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-gunpla

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

24.4 kB

Total Files

7

Last publish

Collaborators

  • mecc