You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
480 B
21 lines
480 B
var blint = require("blint");
|
|
|
|
["mode", "lib", "addon", "keymap"].forEach(function(dir) {
|
|
blint.checkDir(dir, {
|
|
browser: true,
|
|
allowedGlobals: ["CodeMirror", "define", "test", "requirejs", "globalThis", "WeakSet"],
|
|
ecmaVersion: 5,
|
|
tabs: dir == "lib"
|
|
});
|
|
});
|
|
|
|
["src"].forEach(function(dir) {
|
|
blint.checkDir(dir, {
|
|
browser: true,
|
|
allowedGlobals: ["WeakSet"],
|
|
ecmaVersion: 6,
|
|
semicolons: false
|
|
});
|
|
});
|
|
|
|
module.exports = {ok: blint.success()};
|