JSPM

eslint-plugin-fsecond

1.4.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15573
  • Score
    100M100P100Q156486F
  • License MIT

ESLint plugin with misc rules.

Package Exports

  • eslint-plugin-fsecond
  • eslint-plugin-fsecond/package.json

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