nexxtway / eslint-plugin-fstore

This plugin intends to support linting of fstore workspaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-fstore

This plugin intends to support linting of fstore workspaces

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-fstore:

$ npm install eslint-plugin-fstore --save-dev

Usage

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

{
    "plugins": [
        "fstore"
    ]
}

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

{
    "rules": {
        "fstore/export-function-as-default": 2
    }
}

Supported Rules

  • export-function-as-default

About

This plugin intends to support linting of fstore workspaces


Languages

Language:TypeScript 100.0%