Skip to content

gramener/eslint-plugin-no-data-blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Do not embed large data in code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published