0.2.0 • Published 1 year ago

@m-thalmann/eslint-config-rxjs v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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

Installation

!NOTE
You should also install the @m-thalmann/eslint-config-base package and set it up like described in it's README

npm install --save-dev @m-thalmann/eslint-config-rxjs

Usage

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-typescript package 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.useFlatConfig setting

License

This package is released under the MIT License.

0.2.0

1 year ago

0.1.1

1 year ago