1.0.12 • Published 6 years ago

eslint-plugin-fsa v1.0.12

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

eslint-plugin-fsa

This is an ESLint plugin, that restricts developers from writing custom actions for flux. The main purpose is to use human friendly standard action creators.

Installing

npm install eslint-plugin-fsa --save-dev

ESLint Rules

There is one rule in the plugin:

  • object-meets-standard: checks if action functions return an object that meets the Flux Standard Action standard.

Sample Configuration File

Here's a sample ESLint configuration file that activates these rules:

{
    "extends": "plugin:fsa/recommended",
    "plugins": [
        "fsa"
    ]
}

Or turn rules one by one:

{
    "plugins": [
        "fsa"
    ],
    "rules": {
    	"fsa/object-meets-standard": 2
    }
}
1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago