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

8 months ago
  1. var blint = require("blint");
  2. ["mode", "lib", "addon", "keymap"].forEach(function(dir) {
  3. blint.checkDir(dir, {
  4. browser: true,
  5. allowedGlobals: ["CodeMirror", "define", "test", "requirejs", "globalThis", "WeakSet"],
  6. ecmaVersion: 5,
  7. tabs: dir == "lib"
  8. });
  9. });
  10. ["src"].forEach(function(dir) {
  11. blint.checkDir(dir, {
  12. browser: true,
  13. allowedGlobals: ["WeakSet"],
  14. ecmaVersion: 6,
  15. semicolons: false
  16. });
  17. });
  18. module.exports = {ok: blint.success()};