2.0.3 • Published 2 months ago

eslint-config-mkw v2.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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"
}
2.0.3

2 months ago

2.0.2

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago