1.1.0 • Published 3 years ago

eslint-plugin-date-timezone v1.1.0

Weekly downloads
10
License
GPL-3.0
Repository
github
Last release
3 years ago

eslint-plugin-date-timezone

This plugin allows to validate usage of Date to work appriopriatly with timezones

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/no-date-from-string": 2
  }
}
1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago