UNPKG

@sofie-automation/eslint-plugin

Version:
36 lines (22 loc) 1.99 kB
# Sofie ESLint Library [![Node CI](https://github.com/nrkno/sofie-eslint-plugin/actions/workflows/node.yaml/badge.svg)](https://github.com/nrkno/sofie-eslint-plugin/actions/workflows/node.yaml) [![npm](https://img.shields.io/npm/v/@sofie-automation/eslint-plugin)](https://www.npmjs.com/package/@sofie-automation/eslint-plugin) This is the _Sofie ESLint_ library, used for defining custom [_ESLint_](https://eslint.org/) rules in the [_**Sofie** TV Automation System_](https://github.com/nrkno/Sofie-TV-automation/). ## General Sofie System Information * [_Sofie_ Documentation](https://nrkno.github.io/sofie-core/) * [_Sofie_ Releases](https://nrkno.github.io/sofie-core/releases) * [Contribution Guidelines](CONTRIBUTING.md) * [License](LICENSE) --- ## Installation & Usage This library included as part of [_Sofie Code Standard Preset_](https://github.com/nrkno/sofie-code-standard-preset/). If you want to use this library in other contexts, the typical _ESLint_ setup process should be used instead. ## Rules <!-- begin auto-generated rules list --> 💼 Configurations enabled in.\ 🌐 Set in the `all` configuration. | Name                                    | Description | 💼 | | :----------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- | :- | | [require-typed-object-values-and-entries](docs/rules/require-typed-object-values-and-entries.md) | Require Object.values() and Object.entries() calls to have generic type specified | 🌐 | <!-- end auto-generated rules list --> --- _The NRK logo is a registered trademark of Norsk rikskringkasting AS. The license does not grant any right to use, in any way, any trademarks, service marks or logos of Norsk rikskringkasting AS._