1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-19 09:31:24 +00:00
8bitworkshop/codemirror/test/lint.js

21 lines
436 B
JavaScript
Raw Normal View History

var blint = require("blint");
["mode", "lib", "addon", "keymap"].forEach(function(dir) {
blint.checkDir(dir, {
browser: true,
allowedGlobals: ["CodeMirror", "define", "test", "requirejs", "globalThis"],
ecmaVersion: 5,
tabs: dir == "lib"
});
});
["src"].forEach(function(dir) {
blint.checkDir(dir, {
browser: true,
ecmaVersion: 6,
semicolons: false
});
});
module.exports = {ok: blint.success()};