JSPM

eslint-plugin-rs

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q59102F
  • License MIT

Contains eslint rules for tests and decorators

Package Exports

  • eslint-plugin-rs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-rs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-rs

Contains eslint rules for tests and decorators

Installation

Run the following command to install eslint-plugin-rs:

$ npm i --save-dev eslint-plugin-rs

Usage

Add eslint-plugin-rs to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  plugins: ['rs'],
}

Then configure the rules you want to use under the rules section:

{
    "rules": {
      'rs/separate-line-for-decorators': 'error',
      'rs/separate-expect-expression(s)': 'error',
    }
}

Useful links for creating custom rules: