Skip to content

felipebruce/detect-headers-without-current-year

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-detect-headers-without-current-year

Detect headers without current year 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-headers-without-current-year:

$ npm install eslint-plugin-detect-headers-without-current-year --save-dev

or

$ yarn add eslint-plugin-detect-headers-without-current-year -D

Usage

Add detect-headers-without-current-year to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["detect-headers-without-current-year"],
  "rules": {
    "detect-headers-without-current-year/detect-headers-without-current-year": "error"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published