Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: no use eslint.linter in code example #12037

Merged
merged 1 commit into from Jul 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/developer-guide/nodejs-api.md
Expand Up @@ -586,8 +586,9 @@ Once you have the configuration information, you can pass it into the `linter` o

```js
const CLIEngine = require("eslint").CLIEngine,
linter = require("eslint").linter;
Linter = require("eslint").Linter;

const linter = new Linter();
const cli = new CLIEngine({
envs: ["browser", "mocha"],
useEslintrc: false,
Expand Down