eslint-plugin-omio-formatted-date
v0.0.0
Published
ESLint plugin to warn against using formattedDate without stripping timezone
Downloads
4
Maintainers
Readme
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.