13.0.2 • Published 23 days ago

eslint-config-nitpick v13.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

eslint-config-nitpick

Build Status

ESLint config for my projects.

Install

npm install eslint@8 eslint-config-nitpick --save-dev

Usage

Add this config to your .eslintrc:

{
	"extends": [
		"eslint-config-nitpick"
	]
}

If you’re using presets, it’s highly recommended to apply default preset:

{
	"extends": [
		"eslint-config-nitpick",
		"eslint-config-nitpick/other-preset"
	]
}

Presets

In addition to default preset, there are also specific presets. You can apply multiple presets with ESLint extends option.

Browser

Browser specific rules.

{
	"extends": [
		"eslint-config-nitpick/browser"
	]
}

Testing

Rules for testing frameworks (e.g. Mocha).

{
	"extends": [
		"eslint-config-nitpick/tests"
	]
}

Vue

Vue specific rules.

{
	"extends": [
		"eslint-config-nitpick/vue"
	]
}

TypeScript

TypeScript specific rules.

{
	"extends": [
		"eslint-config-nitpick/typescript"
	]
}

License

MIT © Ivan Nikolić