modbus-serial
Version:
A pure JavaScript implemetation of MODBUS-RTU (Serial and TCP) for NodeJS.
24 lines (19 loc) • 410 B
JavaScript
/* eslint-disable no-undef */
const lint = require("mocha-eslint");
const paths = [
"index.js",
"ports/**/*.js",
"servers/**/*.js",
"apis/**/*.js",
"utils/**/*.js",
"examples/**/*.js",
"test/**/*.js"
];
const options = {
// Specify style of output
formatter: "compact", // Defaults to `stylish`
timeout: 10000
};
// Run the tests
lint(paths, options);
;