https://github.com/sanand0/eslint-plugin-no-data-blocks
Do not embed large data in code
https://github.com/sanand0/eslint-plugin-no-data-blocks
library tool
Last synced: 4 months ago
JSON representation
Do not embed large data in code
- Host: GitHub
- URL: https://github.com/sanand0/eslint-plugin-no-data-blocks
- Owner: sanand0
- License: mit
- Created: 2023-06-12T03:38:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-25T11:57:19.000Z (over 1 year ago)
- Last Synced: 2025-09-08T01:48:23.890Z (10 months ago)
- Topics: library, tool
- Language: JavaScript
- Size: 80.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-no-data-blocks
Do not embed large data in code
## Installation
You'll first need to install [ESLint](https://eslint.org/):
```sh
npm i eslint --save-dev
```
Next, install `eslint-plugin-no-data-blocks`:
```sh
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:
```json
{
"plugins": [
"no-data-blocks"
]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"no-data-blocks/no-data-blocks": ["error", 100]
}
}
```
## Rules
| Name | Description |
| :--------------------------------------------- | :------------------------------ |
| [no-data-blocks](docs/rules/no-data-blocks.md) | Do not embed large data in code |