From 2ae4938fad01c89a798be39fc24b11ec5ab8f6f9 Mon Sep 17 00:00:00 2001 From: alberto Date: Sun, 17 Apr 2016 11:36:29 +0200 Subject: [PATCH] Docs: Fix message for `inline-config` option --- docs/user-guide/command-line-interface.md | 2 +- lib/options.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index 97d3d4e66ca..03f96af7561 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -74,7 +74,7 @@ Miscellaneous: --debug Output debugging information -h, --help Show help -v, --version Outputs the version number - --no-inline-config Prevent comments from changing eslint rules - + --no-inline-config Prevent comments from changing config or rules - default: false --print-config Print the configuration to be used ``` diff --git a/lib/options.js b/lib/options.js index e7f70ea0925..386a25887d2 100644 --- a/lib/options.js +++ b/lib/options.js @@ -213,7 +213,7 @@ module.exports = optionator({ option: "inline-config", type: "Boolean", default: "true", - description: "Allow comments to change eslint config/rules" + description: "Prevent comments from changing config or rules" }, { option: "print-config",