mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
21 lines
509 B
JavaScript
21 lines
509 B
JavaScript
|
/** @type {import('@types/eslint').Linter.BaseConfig} */
|
||
|
module.exports = {
|
||
|
extends: [
|
||
|
"@remix-run/eslint-config",
|
||
|
"@remix-run/eslint-config/node",
|
||
|
"@remix-run/eslint-config/jest-testing-library",
|
||
|
],
|
||
|
env: {
|
||
|
"cypress/globals": true,
|
||
|
},
|
||
|
plugins: ["cypress"],
|
||
|
// we're using vitest which has a very similar API to jest
|
||
|
// (so the linting plugins work nicely), but it means we have to explicitly
|
||
|
// set the jest version.
|
||
|
settings: {
|
||
|
jest: {
|
||
|
version: 28,
|
||
|
},
|
||
|
},
|
||
|
};
|