Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.69 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.69 KB

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.