0.0.0 • Published 1 year ago

eslint-plugin-omio-formatted-date v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-omio-formatted-date

ESLint plugin to warn against using formattedDate without stripping timezone

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-omio-formatted-date:

npm install eslint-plugin-omio-formatted-date --save-dev

Usage

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

{
    "plugins": [
        "omio-formatted-date"
    ]
}

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

{
    "rules": {
        "omio-formatted-date/rule-name": 2
    }
}

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

TODO: Run eslint-doc-generator to generate the rules list.

0.0.0

1 year ago