3.0.25 • Published 10 months ago

eslint-config-mkw v3.0.25

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

eslint-config-mkw

Vercel extended, typescript + React rules enforcement Working with Prettier

Based on @vercel/style-guide

Compatibility

Theses plugins are already included in this package :

  • @next/eslint-plugin-next
  • @typescript-eslint/eslint-plugin
  • eslint
  • eslint-plugin-import
  • eslint-plugin-node
  • eslint-plugin-react

Theses configs are already included in this package :

  • eslint-config-prettier
  • eslint-import-resolver-typescript
  • @typescript-eslint/parser
  • @vercel/style-guide

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-config-mkw:

npm install eslint-config-mkw --save-dev

Usage

Add mkw to the extends section of your .eslintrc configuration file. This packages needs to be the last one extended :

{
    "extends": [
        "eslint-config-mkw/next"
    ]
}

Available configs :

  • /next (for next applications)
  • /react-library (for react libaries / packages / applications)
  • /base (for typescript packages / projects)

Recommended .prettierrc :

{
	"tabWidth": 4,
	"useTabs": true,
	"semi": false,
	"singleQuote": true,
	"bracketSameLine": true,
	"arrowParens": "avoid"
}
3.0.23

10 months ago

3.0.24

10 months ago

3.0.21

10 months ago

3.0.22

10 months ago

3.0.25

10 months ago

3.0.20

10 months ago

3.0.18

10 months ago

3.0.19

10 months ago

3.0.9

10 months ago

3.0.12

10 months ago

3.0.4

10 months ago

3.0.13

10 months ago

3.0.3

10 months ago

3.0.10

10 months ago

3.0.2

10 months ago

3.0.11

10 months ago

3.0.1

10 months ago

3.0.16

10 months ago

3.0.8

10 months ago

3.0.17

10 months ago

3.0.7

10 months ago

3.0.14

10 months ago

3.0.6

10 months ago

3.0.15

10 months ago

3.0.5

10 months ago

3.0.0

10 months ago

2.0.5

11 months ago

2.0.4

1 year ago

2.0.6

11 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago