2.2.2 • Published 4 days ago

@mafalda-sfu/eslint-plugin v2.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 days ago

eslint-plugin

Coverage Docs coverage npm

This is an ESLint plugin that exports configurations and rules for the Mafalda SFU project.

Installation

You can install this plugin using npm:

npm install @mafalda-sfu/eslint-plugin --save-dev

Configurations

This plugin exports the following configurations:

  • layout
  • recommended
  • suggestions
  • suggestions-typescript
  • typescript

Rules

This plugin exports the following rules:

  • brace-style: modified version of the eslint brace-style rule allowing multiple lines in allman style.
  • no-private-keyword: disallows the use of the Typescript private keyword.
  • no-protected-keyword: disallows the use of the Typescript protected keyword.
  • no-public-keyword: disallows the use of the Typescript public keyword.
  • no-setInterval: disallows the use of setInterval.
  • no-setTimeout: disallows the use of setTimeout.
  • no-window-event: disallows the use of window events.

License

This project is licensed under the MIT License.