eslint-plugin-redux-namespaced-actions
v1.0.0
Published
eslint rules for namespacing redux action values
Downloads
1,470
Readme
eslint-config-redux-namespaced-actions
An eslint
rule for linting that Redux actions are namespaced
Enforces:
- Values of action values look like
mx/project/module[...</rest>]
.
Configuration:
"rules": {
"redux-namespaced-actions/redux-namespaced-actions": 1,
}
Optional, provide action variable names:
"rules": {
"redux-namespaced-actions/redux-namespaced-actions": [1, {
"validActionVarnames": ["ActionTypes"],
}],
}