Skip to content

AndreaPontrandolfo/eslint-plugin-fsecond

Repository files navigation

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 disallow inline object type literals in variable and function annotations; extract to a named interface or type alias. 📖 ⚙️
prefer-destructured-optionals enforce placing optional parameters on a destructured object instead of the function signature itself 📖
valid-event-listener enforces best practices around addEventListener method in React components. ⚙️

About

ESLint plugin with some opinionated and stylistic rules

Topics

Resources

Stars

Watchers

Forks