Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit e005fd3

Browse files
committed
Misc: make linters happy
1 parent a855828 commit e005fd3

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

test/specs/config/generator.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
var expect = require('chai').expect;
22
var sinon = require('sinon');
33
var path = require('path');
4-
var fs = require('fs');
5-
var Vow = require('vow');
64

75
var Checker = require('../../../lib/checker');
86
var Configuration = require('../../../lib/config/configuration');
@@ -16,26 +14,6 @@ describe('lib/config/generator', function() {
1614
var _path = path.resolve(__dirname, '../../../lib/config/generator.js');
1715
var crockfordPresetChoice;
1816

19-
// jscs:disable maximumLineLength
20-
var crockfordViolationsAllExceptions = {
21-
'\u001b[32mrequireMultipleVarDecl\u001b[39m (18 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
22-
'\u001b[32mdisallowDanglingUnderscores\u001b[39m (25 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
23-
'\u001b[32mrequireSpaceAfterKeywords\u001b[39m (17 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
24-
'\u001b[32mrequireBlocksOnNewline\u001b[39m (2 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
25-
'\u001b[32mdisallowSpaceBeforeBinaryOperators\u001b[39m (1 violation in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
26-
'\u001b[32mrequireSpacesInAnonymousFunctionExpression\u001b[39m (17 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e'
27-
};
28-
// jscs:enable maximumLineLength
29-
30-
var expectedConfig = {
31-
preset: 'crockfordClone',
32-
requireMultipleVarDecl: null,
33-
disallowDanglingUnderscores: null,
34-
requireSpaceAfterKeywords: null,
35-
requireBlocksOnNewline: null,
36-
disallowSpaceBeforeBinaryOperators: null
37-
};
38-
3917
var generator;
4018
var oldRegisterPreset;
4119

0 commit comments

Comments
 (0)