https://github.com/hugolgst/lemon-pledge
i need more lemon pledge
https://github.com/hugolgst/lemon-pledge
eslint eslint-config lemon-pledge
Last synced: 3 months ago
JSON representation
i need more lemon pledge
- Host: GitHub
- URL: https://github.com/hugolgst/lemon-pledge
- Owner: hugolgst
- Created: 2024-08-30T08:35:28.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-03-04T08:27:02.000Z (3 months ago)
- Last Synced: 2025-03-04T09:23:58.951Z (3 months ago)
- Topics: eslint, eslint-config, lemon-pledge
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/lemon-pledge
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A shareable ESLint configuration that leverages TypeScript, React, and [Stylistic ESLint Plugins](https://github.com/ota-meshi/eslint-plugin-stylistic). This config aims for clean, consistent, and modern code style.
```
npm i lemon-pledge
``````js
import lemonPledge from 'lemon-pledge'
export default [
lemonPledge.configs.default // Standard JS
// OR
lemonPledge.configs.typed // TypeScript
// OR
lemonPledge.configs['typed-react'] // TypeScript + React
]
```## Features
- **React**: Includes [`eslint-plugin-react`](https://github.com/jsx-eslint/eslint-plugin-react) and [`react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks).
- **TypeScript**: Integrates [`@typescript-eslint/eslint-plugin`](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin) for type-safe linting.
- **Imports**: Relies on [`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import) to keep imports tidy and well-ordered.
- **Unused Imports**: Removes unused imports/variables automatically via [`eslint-plugin-unused-imports`](https://www.npmjs.com/package/eslint-plugin-unused-imports).
- **Prefer Arrow**: Enforces arrow functions in most cases with [`eslint-plugin-prefer-arrow`](https://www.npmjs.com/package/eslint-plugin-prefer-arrow).
- **Stylistic**: Applies consistent stylistic rules with [`@stylistic/eslint-plugin`](https://github.com/ota-meshi/eslint-plugin-stylistic) (including `jsx` and `ts` extensions).