Skip to content

felipebruce/detect-hard-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-detect-hard-code

Detect hard coded strings.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

or if you use yarn

$ yarn add eslint -D

Next, install eslint-plugin-detect-hard-code:

$ npm install eslint-plugin-detect-hard-code --save-dev

or

$ yarn add eslint-plugin-detect-hard-code -D

Usage

Add detect-hard-code to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["detect-hard-code"],
  "rules": {
    "detect-hard-code/detect-hard-code": "error"
  }
}

About

Detect hard coded strings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published