3.0.25 • Published 1 year ago

eslint-config-mkw v3.0.25

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

3.0.24

1 year ago

3.0.21

1 year ago

3.0.22

1 year ago

3.0.25

1 year ago

3.0.20

1 year ago

3.0.18

1 year ago

3.0.19

1 year ago

3.0.9

1 year ago

3.0.12

1 year ago

3.0.4

1 year ago

3.0.13

1 year ago

3.0.3

1 year ago

3.0.10

1 year ago

3.0.2

1 year ago

3.0.11

1 year ago

3.0.1

1 year ago

3.0.16

1 year ago

3.0.8

1 year ago

3.0.17

1 year ago

3.0.7

1 year ago

3.0.14

1 year ago

3.0.6

1 year ago

3.0.15

1 year ago

3.0.5

1 year ago

3.0.0

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.6

1 year 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

2 years ago

1.2.0

2 years 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