eslint-config-ikala

3.0.6 • Public • Published

Prerequisite

  • eslint(^6.0.0)
  • eslint-config-ikala(^3.0.0)
  • eslint-plugin-react(^7.14.0)
  • @typescript-eslint/eslint-plugin(^2.0.0)

Install

npm install eslint@"^6.0.0" eslint-config-ikala@"^3.0.0" \
eslint-plugin-react@"^7.14.0"  @typescript-eslint/eslint-plugin@"^2.0.0" --save-dev

Please visit rules for more detail.

Config

Create a file named .eslintrc.json in the root folder of the repository and add codes as follows:

{
  "env": {
    "browser": true,
    "es6": true,
    "node": true
  },
  "extends": [
    "ikala"
  ],
  "globals": {
    "Atomics": "readonly",
    "SharedArrayBuffer": "readonly"
  }
}

Install IDE/editor plugin

You should install plugin for your IDE or editor.

Please visit http://eslint.org/docs/user-guide/integrations.html for more detail.

Package Sidebar

Install

npm i eslint-config-ikala

Weekly Downloads

5

Version

3.0.6

License

none

Unpacked Size

4.7 kB

Total Files

8

Last publish

Collaborators

  • kiwi.liu