Files
calendar/packages/eslint-plugin/src/index.js
T
Omar LópezGitHubCrowdin BotPeer RichelsenAlex van Andelgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Hariom Balhara
5587867598 RFC: Custom eslint plugin (#3272)
* WIP

* Renamed pacakge

* Update yarn.lock

* Lint fixes

* Moved afterBufferTime to busyTimes & heavily simplify busy check (#3258)

* New Crowdin translations by Github Action (#3312)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Fix shell flicker (#3314)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* Add recommended config to plugin

* Linting

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-07-11 17:35:50 -06:00

12 lines
492 B
JavaScript

// This registers Typescript compiler instance onto node.js.
// Now it is possible to just require typescript files without any compilation steps in the environment run by node
require("ts-node").register();
// re-export our rules so that eslint run by node can understand them
module.exports = {
// import our rules from the typescript file
rules: require("./rules/index.ts").default,
// import our config from the typescript file
configs: require("./configs/index.ts").default,
};