Skip to content

Commit dd4f6e2

Browse files
committed
test: Minor
1 parent ab2b19e commit dd4f6e2

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/lint/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { externalRules } from './plugins';
44
eslint.defineRules(externalRules);
55

66
export default function lint(code, config) {
7-
return eslint.verify(code, config, { filename: 'foo.js' });
7+
return eslint.verify(code, config, { filename: 'file.js' });
88
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import fs from 'fs';
33
import path from 'path';
44
import lint from '../../src/lint';
55

6-
describe('Common', () => {
6+
describe('Lint', () => {
7+
xit('allows to lint', () => {});
8+
79
it('does not warn about nonexisting rules', () => {
810
const configsFolder = path.resolve(__dirname, '../../src/lint/configs');
911
for (const configPath of fs.readdirSync(configsFolder)) {
@@ -15,4 +17,6 @@ describe('Common', () => {
1517
}
1618
}
1719
});
20+
21+
xit('all rules include valid clarification URL', () => {})
1822
});

0 commit comments

Comments
 (0)