UNPKG

swatchjs-utils

Version:

Utilities for SwatchJS, a framework for easily creating and exposing APIs as methods

12 lines (8 loc) 248 B
'use strict'; var lint = require('mocha-eslint'); // Explicit test to run linter as part of test suite var paths = ['index.js', 'lib', 'test']; var options = { strict: true // Fail test suite on any warnings or errors }; lint(paths, options);