This plugin intends to support linting of fstore workspaces
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-fstore
:
$ npm install eslint-plugin-fstore --save-dev
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
}
}
- export-function-as-default