chore: update eslint ignore

This commit is contained in:
三咲智子 Kevin Deng 2024-01-04 17:41:04 +08:00
parent 82f1c58be6
commit 243af64f04
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,11 @@ module.exports = {
}, },
// Private package, browser only + no syntax restrictions // Private package, browser only + no syntax restrictions
{ {
files: ['packages/template-explorer/**', 'packages/sfc-playground/**'], files: [
'packages/template-explorer/**',
'packages/sfc-playground/**',
'playground/**',
],
rules: { rules: {
'no-restricted-globals': ['error', ...NodeGlobals], 'no-restricted-globals': ['error', ...NodeGlobals],
'no-restricted-syntax': ['error', banConstEnum], 'no-restricted-syntax': ['error', banConstEnum],