3.0.6 • Published 5 years ago
eslint-config-ikala v3.0.6
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-devPlease 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.