This is an ESLint plugin that exports configurations and rules for the Mafalda SFU project.
You can install this plugin using npm:
npm install @mafalda-sfu/eslint-plugin --save-dev
This plugin exports the following configurations:
layout
recommended
suggestions
suggestions-typescript
typescript
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.
This project is licensed under the MIT License.