Skip to content

Commit 0c99eb2

Browse files
committed
Actually removed no-common from index, plus added test to ensure it is importable.
1 parent a9bd482 commit 0c99eb2

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ exports.rules = {
66

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

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

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

2120
"no-reassign": 1,
2221

23-
"no-common": 0,
2422
"no-errors": 0
2523
};
24+

tests/lib/package.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"use strict";
2+
3+
var expect = require("chai").expect;
4+
5+
var path = require("path");
6+
7+
describe("package", function () {
8+
it("is importable", function () {
9+
expect(require(path.join(process.cwd()))).to.exist;
10+
});
11+
// TODO: it has every rule
12+
});
13+

0 commit comments

Comments
 (0)