1.3.6 • Published 21 days ago

@kingspanisoeste/eslint-config v1.3.6

Weekly downloads
-
License
MIT
Repository
github
Last release
21 days ago

Kingspan Isoeste ESLint config

Whats included?

  • Standard config base;
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint @kingspanisoeste/eslint-config
  1. Create a .eslintrc.json file extending the config:

    React project

{
  "extends": "@kingspanisoeste/eslint-config/react"
}

Node project

{
  "extends": "@kingspanisoeste/eslint-config/node"
}
  1. Create a '.prettierrc.js' file and exports the prettier config:
module.exports = require('@kingspanisoeste/eslint-config/prettier')