0.1.0 • Published 3 years ago
eslint-plugin-daete-timezone v0.1.0
eslint-plugin-date-timezone
This plugin won't allow to use Date with short string
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-date-timezone
:
$ npm install eslint-plugin-date-timezone --save-dev
Usage
Add date-timezone
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"date-timezone"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"date-timezone/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here
0.1.0
3 years ago