eslint-plugin-no-data-blocks
v1.0.1
Published
Do not embed large data in code
Maintainers
Readme
eslint-plugin-no-data-blocks
Do not embed large data in code
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-no-data-blocks:
npm install eslint-plugin-no-data-blocks --save-devUsage
Add no-data-blocks to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"no-data-blocks"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"no-data-blocks/no-data-blocks": ["error", 100]
}
}Rules
| Name | Description | | :--------------------------------------------- | :------------------------------ | | no-data-blocks | Do not embed large data in code |
