https://github.com/andreapontrandolfo/eslint-plugin-fsecond
ESLint plugin with some opinionated and stylistic rules
https://github.com/andreapontrandolfo/eslint-plugin-fsecond
eslint eslint-plugin eslintplugin javascript
Last synced: 8 months ago
JSON representation
ESLint plugin with some opinionated and stylistic rules
- Host: GitHub
- URL: https://github.com/andreapontrandolfo/eslint-plugin-fsecond
- Owner: AndreaPontrandolfo
- Created: 2023-07-30T22:19:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T16:00:43.000Z (about 2 years ago)
- Last Synced: 2025-02-03T08:47:45.632Z (over 1 year ago)
- Topics: eslint, eslint-plugin, eslintplugin, javascript
- Language: TypeScript
- Homepage:
- Size: 270 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESLINT PLUGIN FSECOND
## Description
ESLint plugin with some opinionated rules, useful in JavaScript, TypeScript and React projects.
## Configs
| | Name |
| :-- | :------------ |
| ✅ | `recommended` |
## Rules
💼 Configurations enabled in.\
✅ Set in the `recommended` configuration.\
🗂️ The type of rule.\
❗ Identifies problems that could cause errors or unexpected behavior.\
📖 Identifies potential improvements.\
⚙️ Has configuration options.
| Name | Description | 💼 | 🗂️ | ⚙️ |
| :--------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------- | :-- | :-- | :-- |
| [no-inline-interfaces](docs/rules/no-inline-interfaces.md) | disallow inline object type literals in variable and function annotations; extract to a named interface or type alias. | ✅ | 📖 | ⚙️ |
| [prefer-destructured-optionals](docs/rules/prefer-destructured-optionals.md) | enforce placing optional parameters on a destructured object instead of the function signature itself | ✅ | 📖 | |
| [valid-event-listener](docs/rules/valid-event-listener.md) | enforces best practices around addEventListener method in React components. | ✅ | ❗ | ⚙️ |