An open API service indexing awesome lists of open source software.

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

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. | ✅ | ❗ | ⚙️ |