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

Commit

Permalink
Misc: make linters happy
Browse files Browse the repository at this point in the history
  • Loading branch information
markelog committed Apr 14, 2016
1 parent a855828 commit e005fd3
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions test/specs/config/generator.js
@@ -1,8 +1,6 @@
var expect = require('chai').expect;
var sinon = require('sinon');
var path = require('path');
var fs = require('fs');
var Vow = require('vow');

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

// jscs:disable maximumLineLength
var crockfordViolationsAllExceptions = {
'\u001b[32mrequireMultipleVarDecl\u001b[39m (18 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
'\u001b[32mdisallowDanglingUnderscores\u001b[39m (25 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
'\u001b[32mrequireSpaceAfterKeywords\u001b[39m (17 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
'\u001b[32mrequireBlocksOnNewline\u001b[39m (2 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
'\u001b[32mdisallowSpaceBeforeBinaryOperators\u001b[39m (1 violation in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e',
'\u001b[32mrequireSpacesInAnonymousFunctionExpression\u001b[39m (17 violations in 1 file):\n Create an (e)xception for this rule, or (f)ix the errors yourself?': 'e'
};
// jscs:enable maximumLineLength

var expectedConfig = {
preset: 'crockfordClone',
requireMultipleVarDecl: null,
disallowDanglingUnderscores: null,
requireSpaceAfterKeywords: null,
requireBlocksOnNewline: null,
disallowSpaceBeforeBinaryOperators: null
};

var generator;
var oldRegisterPreset;

Expand Down

0 comments on commit e005fd3

Please sign in to comment.