0.1.1 • Published 2 years ago

eslint-config-conjure v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-config-conjure

ESLint rules, the Conjure way.

Installation

Add eslint-config-conjure and all its dependencies:

npm i --save-dev \
  eslint-config-conjure \
  @typescript-eslint/eslint-plugin@^5.18.0 \
  eslint@^8.13.0 \
  eslint-plugin-import@^2.26.0 \
  eslint-plugin-prettier@^4.0.0 \
  eslint-plugin-react-hooks@^4.4.0

Usage

Set your ESLint config file to extend from conjure:

{
  "extends": ["conjure"]
}

Prettier

To have the full Conjure experience, we also recommend the following Prettier configuration:

{
  "bracketSpacing": true,
  "endOfLine": "lf",
  "semi": false,
  "singleQuote": false,
  "tabWidth": 2,
  "useTabs": false
}

Happy coding! :)