Skip to content

Commit 6c949b0

Browse files
committed
ignore lint in tests
1 parent 2e9f8da commit 6c949b0

File tree

6 files changed

+1
-10
lines changed

6 files changed

+1
-10
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ module.exports = {
9191
plugins: ['@vitest/eslint-plugin'],
9292
globals: vitestPlugin.environments.env.globals,
9393
rules: {
94+
'github/unescaped-html-literal': [0],
9495
'@vitest/consistent-test-filename': [0],
9596
'@vitest/consistent-test-it': [0],
9697
'@vitest/expect-expect': [0],

web_src/js/markup/html2markdown.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
2-
/* eslint-disable github/unescaped-html-literal */
31
import {convertHtmlToMarkdown} from './html2markdown.ts';
42
import {createElementFromHTML} from '../utils/dom.ts';
53

web_src/js/modules/fomantic/dropdown.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
2-
/* eslint-disable github/unescaped-html-literal */
31
import {createElementFromHTML} from '../../utils/dom.ts';
42
import {hideScopedEmptyDividers} from './dropdown.ts';
53

web_src/js/render/ansi.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
2-
/* eslint-disable github/unescaped-html-literal */
31
import {renderAnsi} from './ansi.ts';
42

53
test('renderAnsi', () => {

web_src/js/utils/dom.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
2-
/* eslint-disable github/unescaped-html-literal */
31
import {
42
createElementFromAttrs,
53
createElementFromHTML,

web_src/js/utils/html.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable @eslint-community/eslint-comments/disable-enable-pair */
2-
/* eslint-disable github/unescaped-html-literal */
31
import {html, htmlEscape, htmlRaw} from './html.ts';
42

53
test('html', async () => {

0 commit comments

Comments
 (0)