Skip to content

Commit a218729

Browse files
committed
Remove CSSLint globals directives
Now covered by the .jshintrc file
1 parent b7f5c9b commit a218729

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+76
-92
lines changed

src/cli/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Encapsulates all of the CLI functionality. The api argument simply
33
* provides environment-specific functionality.
44
*/
5-
/*global CSSLint*/
5+
66
function cli(api){
77

88
var globalOptions = {

src/core/Reporter.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
/**
32
* An instance of Report is used to report results of the
43
* verification back to the main API.
@@ -158,4 +157,4 @@ Reporter.prototype = {
158157
};
159158

160159
//expose for testing purposes
161-
CSSLint._Reporter = Reporter;
160+
CSSLint._Reporter = Reporter;

src/core/Util.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
/*global CSSLint*/
3-
41
/*
52
* Utility functions that make life easier.
63
*/
@@ -59,4 +56,4 @@ CSSLint.Util = {
5956
}
6057
}
6158
}
62-
};
59+
};

src/formatters/checkstyle-xml.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
(function() {
32

43
/**
@@ -106,4 +105,4 @@
106105
}
107106
});
108107

109-
}());
108+
}());

src/formatters/compact.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
CSSLint.addFormatter({
32
//format information
43
id: "compact",

src/formatters/csslint-xml.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
CSSLint.addFormatter({
32
//format information
43
id: "csslint-xml",
@@ -65,4 +64,4 @@ CSSLint.addFormatter({
6564

6665
return output.join("");
6766
}
68-
});
67+
});

src/formatters/junit-xml.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
CSSLint.addFormatter({
32
//format information
43
id: "junit-xml",
@@ -102,4 +101,4 @@ CSSLint.addFormatter({
102101
return output.join("");
103102

104103
}
105-
});
104+
});

src/formatters/lint-xml.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
CSSLint.addFormatter({
32
//format information
43
id: "lint-xml",
@@ -66,4 +65,4 @@ CSSLint.addFormatter({
6665

6766
return output.join("");
6867
}
69-
});
68+
});

src/formatters/text.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*global CSSLint*/
21
CSSLint.addFormatter({
32
//format information
43
id: "text",

src/rules/adjoining-classes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*global CSSLint*/
21
/*
32
* Rule: Don't use adjoining classes (.foo.bar).
43
*/
4+
55
CSSLint.addRule({
66

77
//rule information
@@ -42,4 +42,4 @@ CSSLint.addRule({
4242
});
4343
}
4444

45-
});
45+
});

0 commit comments

Comments
 (0)