Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: eslint
node v13.14.0
version:
master
endpoint
share
tweet
const CLIEngine = require("eslint").CLIEngine; const cli = new CLIEngine({ envs: ["node", "mocha"], useEslintrc: false, rules: { 'no-global-assign': 2 } }); cli.executeOnText("global = 'bar';");
Created from: https://npm.runkit.com/eslint
Loading…
no comments
sign in
to comment