remix-demo
react router (remix) demo
git clone https://9o.is/git/remix-demo.git
.eslintrc.js
(516B)
1 /** @type {import('@types/eslint').Linter.BaseConfig} */
2 module.exports = {
3 extends: [
4 "@remix-run/eslint-config",
5 "@remix-run/eslint-config/node",
6 "@remix-run/eslint-config/jest-testing-library",
7 "prettier",
8 ],
9 env: {
10 "cypress/globals": true,
11 },
12 plugins: ["cypress"],
13 // We're using vitest which has a very similar API to jest
14 // (so the linting plugins work nicely), but we have to
15 // set the jest version explicitly.
16 settings: {
17 jest: {
18 version: 28,
19 },
20 },
21 };