We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76ed4c commit f39ad0bCopy full SHA for f39ad0b
.eslintrc.js
@@ -18,6 +18,14 @@ module.exports = {
18
]
19
},
20
overrides: [
21
+ // tests, no restrictions (runs in Node / jest with jsdom)
22
+ {
23
+ files: ['**/__tests__/**'],
24
+ rules: {
25
+ 'no-restricted-globals': 'off',
26
+ 'no-restricted-syntax': 'off'
27
+ }
28
+ },
29
// Packages targeting DOM
30
{
31
files: ['packages/{vue,runtime-dom}/**'],
@@ -33,7 +41,7 @@ module.exports = {
33
41
'no-restricted-syntax': 'off'
34
42
}
35
43
36
- // Private package, no syntax restrictions
44
+ // Private package, browser only + no syntax restrictions
37
45
38
46
files: ['packages/template-explorer/**'],
39
47
rules: {
0 commit comments