0.0.10 • Published 4 years ago

eslint-plugin-momentjs v0.0.10

Weekly downloads
131
License
MIT
Repository
github
Last release
4 years ago

eslint-plugin-momentjs

Moment.js code style rules. See the documentation in the docs/ folder for more information on the specific rules.

Note: This project has no affiliation with the ESLint team or the Moment.js team.

Installation

Prerequisites

Install ESLint if you haven't already. ESLint installation instructions can be found here.

Plugin installation

Install eslint-plugin-momentjs.

npm i eslint-plugin-momentjs --save-dev

Add the plugin to your .eslintrc configuration.

...
"plugins": [
    "momentjs"
],
...

Configure the rules. More information

"rules": {
    "momentjs/some-rule": "warn",
    "momentjs/some-other-rule": "error",
    ...
}

Links

Project Home

ESLint

Moment.js

0.0.10

4 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago