ci: Add rule dangerously-use-html-string-missing (no-changelog) (#6299)

This commit is contained in:
Iván Ovejero
2023-05-24 10:12:41 +02:00
committed by GitHub
parent fe937a0ee3
commit 96144bd983
3 changed files with 125 additions and 0 deletions

View File

@@ -14,6 +14,15 @@ module.exports = {
ignorePatterns: ['**/*.js', '**/*.d.ts', 'vite.config.ts', '**/*.ts.snap'],
overrides: [
{
files: ['src/**/*.vue'],
rules: {
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
},
},
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',