0.14.0 • Published 2 days ago

@clarifynl/eslint-config-clarify v0.14.0

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

Clarify eslint config

This is a linter configuration to use when developing JavaScript-based projects. It uses eslint and it's based on Airbnb's configuration as a sensible base config.

It provides three configurations, one for regular JS projects, one specifically for React projects and one for Next projects. In all cases, typescript will be detected automatically.

Installation:

npm install --save-dev @clarifynl/eslint-config-clarify

In your package.json, or in an eslint.config.js file add the following:

"eslintConfig": {
	"extends": ["@clarifynl/clarify"]
}

Or, for React-based projects:

"eslintConfig": {
	"extends": ["@clarifynl/clarify/react"]
}

Or, for Next-based projects:

"eslintConfig": {
	"extends": ["@clarifynl/clarify/next"]
}