eslint-plugin-no-data-blocks

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-no-data-blocks

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

10 kB

Total Files

7

Last publish

Collaborators

  • sanand0