eslint-plugin-fsecond
v1.4.0
Published
ESLint plugin with misc rules.
Downloads
83,088
Maintainers
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 | 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. | ✅ | ❗ | ⚙️ |
