-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
31 lines (31 loc) · 781 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");
module.exports = {
root: true,
env: {
node: true,
"vue/setup-compiler-macros": true,
},
extends: [
"plugin:@tanstack/eslint-plugin-query/recommended",
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier",
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": "warn",
"no-debugger": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@tanstack/query/exhaustive-deps": "off",
},
overrides: [
{
files: ["**/__tests__/*.cy.ts", "cypress/integration/**.cy.ts"],
extends: ["plugin:cypress/recommended"],
},
],
};