eslint-config-weseek
v2.1.1
Published
Shareable configurations of ESLint by WESEEK, Inc. based on eslint-config-airbnb.
Downloads
3,122
Readme
eslint-config-weseek
Shareable configurations of ESLint by WESEEK, Inc. based on eslint-config-airbnb.
Usage
Basics
http://eslint.org/docs/user-guide/configuring#using-the-configuration-from-a-plugin
We export following ESLint configurations for your usage.
Entry Points
weseek
- Our default ESLint rules based on airbnb-base.- Requirements
@babel/core
@babel/eslint-parser
eslint-plugin-import
- Usage:
yarn add -D eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import
extends: [ 'weseek', ],
- Requirements
weseek/react
- An additional rule sets which are based on airbnb/rules/react.- Requirements
- Requirements list of
weseek
endpoint eslint-plugin-react
eslint-plugin-react-hooks
- Requirements list of
- Usage:
yarn add -D eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks
extends: [ 'weseek', 'weseek/react', ],
- Requirements
weseek/typescript
- An additional rule sets for TypeScript.- Requirements:
- Requirements list of
weseek
endpoint except for@babel/core
and@babel/eslint-parser
eslint-import-resolver-typescript
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
- Requirements list of
- Usage:
yarn add -D eslint-config-weseek eslint-plugin-import eslint-import-resolver-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
extends: [ 'weseek', 'weseek/typescript', ],
- Requirements:
weseek/typescript-next
- An additional rule sets for Next.js. This includes both ofweseek/react
andweseek/typescript
- Requirements:
- Requirements lists of
weseek
,weseek/react
andweseek/typescript
endpoint except for@babel/core
and@babel/eslint-parser
- Requirements lists of
- Usage:
yarn add -D eslint-config-weseek eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-import-resolver-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
extends: [ 'weseek', 'weseek/typescript-next', ],
- Requirements: