https://github.com/felipstein/lint
My main rules used in my projects
https://github.com/felipstein/lint
Last synced: about 1 year ago
JSON representation
My main rules used in my projects
- Host: GitHub
- URL: https://github.com/felipstein/lint
- Owner: Felipstein
- Created: 2023-10-16T01:51:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-24T00:15:21.000Z (over 2 years ago)
- Last Synced: 2025-02-10T14:26:24.050Z (over 1 year ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lint
This repository contains Eslint configuration packages for different project types. Please note that these configurations are primarily designed for TypeScript projects.
## Node Project
To apply these rules to a Node.js project, follow these steps:
1. Install the Eslint configuration package using npm, yarn, or pnpm:
- NPM:
```bash
npm install -D @felipstein/eslint-config-node
```
- Yarn:
```bash
yarn add -D @felipstein/eslint-config-node
```
- PNPM:
```bash
pnpm install -D @felipstein/eslint-config-node
```
2. Add the Eslint configuration to your eslint config file:
```json
{
// ...
"extends": ["@felipstein/eslint-config-node"],
// ...
}
## React Project
To apply the rules to a react project, follow the steps:
1. Install the Eslint configuration package using npm, yarn, or pnpm:
- NPM:
```bash
npm install -D @felipstein/eslint-config-react
```
- Yarn:
```bash
yarn add -D @felipstein/eslint-config-react
```
- PNPM:
```bash
pnpm install -D @felipstein/eslint-config-react
```
2. Add the Eslint configuration to your eslint config file:
```json
{
// ...
"extends": ["@felipstein/eslint-config-react"],
// ...
}
And everything should be working!