Skip to content

Commit 8c1d169

Browse files
committed
chore: no globals
1 parent e0942ab commit 8c1d169

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.eslintrc.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ module.exports = {
1010
sourceType: 'module',
1111
requireConfigFile: false,
1212
},
13-
globals: {
14-
describe: true,
15-
it: true,
16-
},
1713
rules: {
1814
// allow reassigning param
1915
'no-param-reassign': [2, { props: false }],

__tests__/scripts.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable no-unused-expressions */
2+
/* global describe it */
23

34
import { readFile } from '@web/test-runner-commands';
45
import { expect } from '@esm-bundle/chai';

blocks/fragment/__tests__/fragment.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable no-unused-expressions */
2+
/* global describe it */
23

34
import { readFile } from '@web/test-runner-commands';
45
import { expect } from '@esm-bundle/chai';

blocks/header/__tests__/header.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* global it */
2+
13
import { readFile } from '@web/test-runner-commands';
24
import { expect } from '@esm-bundle/chai';
35

blocks/marquee/__tests__/marquee.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable no-unused-expressions */
2+
/* global describe it */
23

34
import { readFile } from '@web/test-runner-commands';
45
import { expect } from '@esm-bundle/chai';

blocks/z-pattern/__tests__/z-pattern.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable no-unused-expressions */
2+
/* global describe it */
23

34
import { readFile } from '@web/test-runner-commands';
45
import { expect } from '@esm-bundle/chai';

0 commit comments

Comments
 (0)