Skip to content

niffin/eslint-plugin-date-component-conflict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

date-component-conflict

no conflicts between and the native Date

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install date-component-conflict:

$ npm install date-component-conflict --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install date-component-conflict globally.

Usage

Add date-component-conflict to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "date-component-conflict"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "date-component-conflict/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

About

make sure no one's using the native Date object when importing the <Date> component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published