https://github.com/squarecloudofc/eslint-config
ESLint configuration pattern used in Square Cloud
https://github.com/squarecloudofc/eslint-config
eslint-config hacktoberfest nodejs squarecloud
Last synced: about 1 year ago
JSON representation
ESLint configuration pattern used in Square Cloud
- Host: GitHub
- URL: https://github.com/squarecloudofc/eslint-config
- Owner: squarecloudofc
- Created: 2023-09-27T14:42:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T18:01:16.000Z (over 2 years ago)
- Last Synced: 2025-05-27T18:43:43.594Z (about 1 year ago)
- Topics: eslint-config, hacktoberfest, nodejs, squarecloud
- Language: JavaScript
- Homepage: https://npmjs.com/@squarecloud/eslint-config
- Size: 43 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @squarecloud/eslint-config
A Full-Stack ESLint config for React and Node.js projects with Next.js support and Prettier integration.
Created by [Square Cloud](https://squarecloud.app), inspired by [rocketseat-eslint](https://github.com/rocketseat/eslint-config-rocketseat).
## Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
## Setup
Install dependencies:
```
npm install -D eslint @squarecloud/eslint-config
```
`.eslintrc.json` Node.JS project
```
{
"extends": "@squarecloud/eslint-config/node"
}
```
`.eslintrc.json` React (with Next.js)
```
{
"extends": [
"@squarecloud/eslint-config/next",
"next/core-web-vitals"
]
}
```
`.eslintrc.json` React (without Next.js)
```
{
"extends": "@squarecloud/eslint-config/react"
}
```