UNPKG

wait-on

Version:

wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available

31 lines (29 loc) 791 B
import globals from "globals"; import chaiFriendly from "eslint-plugin-chai-friendly"; export default [ { files: ["bin/wait-on", "**/*.js"], languageOptions: { ecmaVersion: 2022, sourceType: "module", globals: { ...globals.mocha }, }, plugins: { "chai-friendly": chaiFriendly }, rules: { 'no-use-before-define': 'off', 'no-unused-vars': [ 'error', { varsIgnorePattern: 'should|expect' } ], // disable the original no-unused-expressions use chai-friendly 'no-unused-expressions': 'off', 'chai-friendly/no-unused-expressions': 'error' } } ];