eslint-plugin-sx

0.14.0 • Public • Published

eslint-plugin-sx

Eslint rules for @adeira/sx

Installation

You'll first need to install ESLint:

yarn add --dev eslint

Next, install eslint-plugin-sx:

yarn add --dev eslint-plugin-sx

Usage

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

{
  "plugins": ["sx"]
}

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

{
  "rules": {
    "sx/no-concatenated-classes": 2,
    "sx/no-unused-stylesheet": 2,
    "sx/use-logical-properties": 2,
    "sx/valid-usage": 2
  }
}

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-sx

Weekly Downloads

17

Version

0.14.0

License

MIT

Unpacked Size

73 kB

Total Files

35

Last publish

Collaborators

  • martin.zlamal
  • adeira-npm-bot