@storyous/eslint-plugin
v1.0.0
Published
An eslint plugin providing custom rule to enforce additional code quality check
Downloads
19
Keywords
Readme
eslint-plugin
This ESLint plugin provides custom rule to enforce additional code quality check in JavaScript code. It aims to identify and flag invalid or unsupported code styles to ensure code compatibility and prevent potential runtime errors when interacting with storyous services.
eslint-plugin
You can install @storyous/eslint-plugin using npm or yarn:
npm install @storyous/eslint-plugin --save-dev
Usage
To use @storyous/eslint-plugin, add it to the plugins section of your ESLint configuration file (.eslintrc.js or .eslintrc.json):
{
"plugins": [
// other plugings
"@storyous"
]
}
Then, configure the rules under the rules section:
{
"rules": {
"@storyous/no-unsupported-documentdb-operator": "error"
}
}