https://github.com/clarifynl/eslint-config-clarify
Eslint configuration for Clarify projects
https://github.com/clarifynl/eslint-config-clarify
Last synced: about 1 year ago
JSON representation
Eslint configuration for Clarify projects
- Host: GitHub
- URL: https://github.com/clarifynl/eslint-config-clarify
- Owner: clarifynl
- License: mit
- Created: 2021-12-14T13:16:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T09:41:28.000Z (about 2 years ago)
- Last Synced: 2025-06-03T23:49:56.369Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```js
"eslintConfig": {
"extends": ["@clarifynl/clarify"]
}
```
Or, for React-based projects:
```js
"eslintConfig": {
"extends": ["@clarifynl/clarify/react"]
}
```
Or, for Next-based projects:
```js
"eslintConfig": {
"extends": ["@clarifynl/clarify/next"]
}
```