Skip to content
custom eslint rules for the open source urlaubsverwaltung application
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rules
test
.editorconfig
.gitignore
.nvmrc
.prettierrc
.travis.yml
LICENSE.txt
README.md
index.js
package-lock.json
package.json

README.md

Build Status

eslint-plugin-urlaubsverwaltung

custom eslint rules for the Open Source Urlaubsverwaltung application.

Rules

@urlaubsverwaltung/no-date-fns

some date-fns functions like format are wrapped by the application with special behaviour.
(e.g. internationalisation or date patterns)

valid:

import format from "../lib/date-fns/format";
import startOfWeek from "../lib/date-fns/startOfWeek";

invaild:

import { format } from "date-fns";
import { startOfWeek } from "date-fns";
import DateFns from "date-fns";
You can’t perform that action at this time.