eslint-plugin-no-data-blocks
v1.0.1
Published
Do not embed large data in code
Downloads
7
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-dev
Next, install eslint-plugin-no-data-blocks
:
npm install eslint-plugin-no-data-blocks --save-dev
Usage
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 |