ec

@worldia/eslint-config

worldia eslint config

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

@worldia/eslint-config

This package includes the shareable ESLint configuration used at Worldia.

Table of Contents


Usage

Base requirements

terminal

yarn install -D @worldia/eslint-config eslint-config-airbnb-base babel-eslint eslint eslint-plugin-import
prettier eslint-plugin-prettier eslint-config-prettier

Vanilla

.eslintrc.js

{
  "extends": "@worldia/eslint-config"
}

React

terminal

yarn install -D @worldia/eslint-config-react eslint-config-airbnb babel-eslint eslint eslint-plugin-import prettier eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-prettier eslint-config-prettier

.eslintrc.js

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

That's it! You can override the settings by editing the .eslintrc file. Learn more about configuring ESLint on the ESLint website.


Setup autofix in IDE

Use any ESLint integration and activate "Fix on save" option.


Ignoring files

See "Ignoring Files and Directories" on ESLint website.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100