eslint-config-ivory
v0.1.3
Published
eslint config for the ivory style guide
Maintainers
Readme
eslint-config-ivory
I created this eslint config to have full control over the code style of my repositories.
An ivory tower is a metaphorical place—or an atmosphere—where people are happily cut off from the rest of the world in favor of their own pursuits, usually mental and esoteric ones.
Source: Wikipedia
Usage
Following is the list of all the eslint configs exported by this package.
ivory– eslint config for the Ivory style guide.ivory/eslint– eslint config for the built-in eslint rules.ivory/eslint-comments– eslint config for eslint comments rules.ivory/import– eslint config for import rules.ivory/jest– eslint config for Jest rules.ivory/jsx-a11y– eslint config for JSX accessibility rules.ivory/next– eslint config for Next.js rules.ivory/promise– eslint config for promise rules.ivory/react– eslint config for React rules.ivory/react-hooks– eslint config for React hooks rules.ivory/typescript– eslint config for TypeScript rules.ivory/unicorn– eslint config for unicorn rules.
Installation
Run the following command to install
eslint-config-ivoryand its peer dependencies.npx install-peerdeps --dev eslint-config-ivoryCreate an
.eslintrc.jsonfile with the following contents.{ "root": true, "extends": "ivory" }Create a
.prettierrc.jsonfile with the following contents."eslint-config-ivory/.prettierrc.json"
