@m-thalmann/eslint-config-rxjs
v0.3.3
Published
A package for RxJS ESLint code style rules
Downloads
4
Readme
@m-thalmann/eslint-config-rxjs
[!NOTE] This package only supports the new flat config format
This package provides a base configuration for the RxJS ESLint Plugin.
Note: We switched over from https://github.com/cartant/eslint-plugin-rxjs since it seems to be abandoned and not compatible with eslint v9+.
Installation
[!NOTE] You should also install the
@m-thalmann/eslint-config-basepackage and set it up like described in it's README
npm install --save-dev @m-thalmann/eslint-config-rxjsUsage
Add the config to your eslint.config.js file:
// ...
const rxjsConfig = require('@m-thalmann/eslint-config-rxjs');
module.exports = [
// ... other configurations
// setup typescript usage!
...rxjsConfig,
// if you are using Prettier put it's config here
// ... override any project-specific settings
];[!Important] You need to setup the TypeScript usage for the
@m-thalmann/eslint-config-typescriptpackage as described in it's README (you don't need to install it, it's a peer dependency of this package)
[!Tip] When using flat config files with VSCode for the first time you need to make sure to enable the
eslint.experimental.useFlatConfigsetting
License
This package is released under the MIT License.
