@mafalda-sfu/eslint-plugin

[![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/mafalda-bot/27d772a9a3a8a945b34fd9676de40486/raw/eslint-plugin.json)](https://gist.github.com/Mafalda-bot/27d772a9a3a8a945b34fd9676de40486#file-eslint-plugin-json) [![Docs


Keywords
eslint, eslint-plugin, eslint-plugin-mafalda, eslintplugin, plugin
License
ISC
Install
npm install @mafalda-sfu/eslint-plugin@2.2.2

Documentation

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.