Skip to content

adeira/eslint-plugin-sx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

✅ Eslint plugin for @adeira/sx (https://github.com/adeira/sx). This repository is automatically exported from https://github.com/adeira/universe via Shipit

Resources

License

Stars

Watchers

Forks