UNPKG

@netlify/eslint-config-node

Version:

ESLint and Prettier configuration for Netlify Node.js projects

16 lines (11 loc) 267 B
#!/usr/bin/env node import { argv } from 'process' import { execaCommand } from 'execa' import isCI from 'is-ci' const [, , command] = argv const runLocal = async function () { if (!isCI) { await execaCommand(command, { stdio: 'inherit' }) } } runLocal()