2.0.0 • Published 2 years ago

eslint-config-welly v2.0.0

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

ESLINT-CONFIG-WELLY

ESlint configuration for my personal React projects, which integrates TypeScript and many awesome features.

build status npm version npm downloads npm downloads All Contributors PRs welcome Twitter URL

Installation

This package is distributed via npm. It requires eslint and typescript.

Install the correct version of each package, which are listed by the command:

npm info "eslint-config-welly@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev eslint-config-welly

Or install each package by yourself:

npm install --save-dev eslint-config-welly eslint@^x.x.x typescript@^x.x.x
# or
yarn add --dev eslint-config-welly eslint@^x.x.x typescript@^x.x.x

Usage

Add the extends to your .eslintrc.js:

module.exports = {
  extends: "welly",
  rules: {
    // your overrides
  },
};

Eliminate Prettier Conflicts for You

Prettier is a great code formatter, I highly recommend you guys give it a try. This package built-ins the eslint-config-prettier for you, all you need to do is setup the Prettier CLI to use it.

// package.json

"format": "prettier --check ."
// or
"format": "prettier --write ."

What's Inside?

This configuration contains the following cool packages.

PackageDescriptionAuto Enabled
typescript-eslintMonorepo for all the tooling which enables ESLint to support TypeScript.
eslint-config-airbnbThis package provides Airbnb's .eslintrc as an extensible shared config.
eslint-plugin-reactReact specific linting rules for ESLint.
eslint-plugin-react-hooksThis ESLint plugin enforces the Rules of Hooks.
eslint-plugin-importESLint plugin with rules that help validate proper imports.
eslint-plugin-jsx-a11yStatic AST checker for a11y rules on JSX elements.
eslint-plugin-promiseEnforce best practices for JavaScript promises.
eslint-plugin-compatLint the browser compatibility of your code.
eslint-plugin-jestESLint plugin for Jest.✅
eslint-plugin-jest-domESLint rules for use with jest-dom.✅
eslint-plugin-testing-libraryESLint plugin for Testing Library.✅
eslint-config-prettierTurns off all rules that are unnecessary or might conflict with Prettier.✅

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

2.0.0

2 years ago

1.12.2

2 years ago

1.12.1

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.8

3 years ago

1.11.7

3 years ago

1.11.6

3 years ago

1.11.5

3 years ago

1.11.4

3 years ago

1.11.3

3 years ago

1.11.2

3 years ago

1.11.0

3 years ago

1.11.1

3 years ago

1.10.5

3 years ago

1.10.6

3 years ago

1.10.4

3 years ago

1.10.3

3 years ago

1.10.2

3 years ago

1.10.1

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.17

3 years ago

1.8.16

3 years ago

1.8.15

3 years ago

1.8.14

3 years ago

1.8.13

3 years ago

1.8.12

3 years ago

1.8.11

3 years ago

1.8.10

3 years ago

1.8.9

3 years ago

1.8.8

3 years ago

1.8.7

3 years ago

1.8.6

3 years ago

1.8.5

3 years ago

1.8.4

3 years ago

1.8.3

3 years ago

1.8.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.4.12

4 years ago

1.4.11

4 years ago

1.4.10

4 years ago

1.4.9

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.3.3

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.0.0

4 years ago