Elium Javascript Style - Eslint config


7.0.02 years ago4 years agoMinified + gzip package size for @eliumhq/eslint-config-elium in KB



An ESLint Shareable Config for Javascript @Elium


yarn add @eliumhq/eslint-config-elium --dev


Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Here's how to install everything you need:

yarn add --dev eslint eslint-config-standard eslint-config-standard-react eslint-config-prettier eslint-plugin-import eslint-plugin-graphql eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard eslint-plugin-react-hooks graphql prettier

Then, add this to your .eslintrc file:

  "extends": "@eliumhq/elium"

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.