Skip to content

Commit

Permalink
Actually removed no-common from index, plus added test to ensure it…
Browse files Browse the repository at this point in the history
… is importable.
  • Loading branch information
benmosher committed Apr 1, 2015
1 parent a9bd482 commit 0c99eb2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -6,7 +6,6 @@ exports.rules = {

"no-reassign": require("./lib/rules/no-reassign"),

"no-common": require("./lib/rules/no-common"),
"no-errors": require("./lib/rules/no-errors"),

"exists": require("./lib/rules/no-unresolved")
Expand All @@ -20,6 +19,6 @@ exports.rulesConfig = {

"no-reassign": 1,

"no-common": 0,
"no-errors": 0
};

13 changes: 13 additions & 0 deletions tests/lib/package.js
@@ -0,0 +1,13 @@
"use strict";

var expect = require("chai").expect;

var path = require("path");

describe("package", function () {
it("is importable", function () {
expect(require(path.join(process.cwd()))).to.exist;
});
// TODO: it has every rule
});

0 comments on commit 0c99eb2

Please sign in to comment.