File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import {
2- ESLint , RuleTester ,
2+ RuleTester ,
33} from 'eslint' ;
44import _ from 'lodash' ;
5- import semver from 'semver' ;
65import config from '../../src' ;
76import ruleNames from './ruleNames.json' ;
87
98const ruleTester = new RuleTester ( ) ;
109
1110const 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 }
You can’t perform that action at this time.
0 commit comments