Skip to content

Commit 7acefe1

Browse files
committed
test: disable check-examples tests
1 parent f92fb60 commit 7acefe1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/rules/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
import {
2-
ESLint, RuleTester,
2+
RuleTester,
33
} from 'eslint';
44
import _ from 'lodash';
5-
import semver from 'semver';
65
import config from '../../src';
76
import ruleNames from './ruleNames.json';
87

98
const ruleTester = new RuleTester();
109

1110
const main = async () => {
1211
for (const ruleName of process.env.npm_config_rule ? process.env.npm_config_rule.split(',') : ruleNames) {
13-
if (semver.gte(ESLint.version, '8.0.0') && ruleName === 'check-examples') {
14-
// This rule cannot yet be supported for ESLint 8;
12+
if (ruleName === 'check-examples') {
13+
// TODO: This rule cannot yet be supported for ESLint 8;
1514
// The possibility for ESLint 8 support is being tracked at https://github.com/eslint/eslint/issues/14745
1615
return;
1716
}

0 commit comments

Comments
 (0)