@mafalda-sfu/eslint-plugin
v2.2.2
Published
[![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
Downloads
8
Readme
eslint-plugin
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 inallman
style.no-private-keyword
: disallows the use of the Typescriptprivate
keyword.no-protected-keyword
: disallows the use of the Typescriptprotected
keyword.no-public-keyword
: disallows the use of the Typescriptpublic
keyword.no-setInterval
: disallows the use ofsetInterval
.no-setTimeout
: disallows the use ofsetTimeout
.no-window-event
: disallows the use ofwindow
events.
License
This project is licensed under the MIT License.