Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-eslint / Readme.md
index 6e4e2180c2fa4ef81c7c4227b135c4c8f8338c03..6cdb264007e9ff46cb817a14160ab9c96504b31a 100644 (file)
@@ -26,16 +26,19 @@ In your vim/neovim run the following command:
 
 - `eslint.enable`: enable/disable ESLint. This is enabled by default.
 - `eslint.quiet` - ignore warnings.
+- `eslint.runtime` - use this setting to set the path of the node runtime to run ESLint under.
 - `eslint.packageManager`: controls the package manager to be used to resolve the ESLint library. This has only an influence if the ESLint library is resolved globally. Valid values are `"npm"` or `"yarn"`.
 - `eslint.options`: options to configure how ESLint is started using the [ESLint CLI Engine API](http://eslint.org/docs/developer-guide/nodejs-api#cliengine). Defaults to an empty option bag.
   An example to point to a custom `.eslintrc.json` file is:
   ```json
   {
-    "eslint.options": {"configFile": "C:/mydirectory/.eslintrc.json"}
+    "eslint.options": { "configFile": "C:/mydirectory/.eslintrc.json" }
   }
   ```
 - `eslint.run` - run the linter `onSave` or `onType`. The Default is `onType`.
+- `eslint.nodeEnv` - use this setting if an ESLint plugin or configuration needs `process.env.NODE_ENV` to be defined.
 - `eslint.autoFixOnSave` - enables auto fix on save.
+- `eslint.autoFixSkipRules` - rules that shouldn't be autofixed.
 - `eslint.nodePath` - use this setting if an installed ESLint package can't be detected. For example `/myGlobalNodePackages/node_modules`.
 - `eslint.filetypes` - an array of language identifiers specifying the files to be validated.
 - `eslint.codeAction.disableRuleComment` - object with properties:
@@ -43,7 +46,7 @@ In your vim/neovim run the following command:
   - `location` - choose to either add the `eslint-disable` comment on the `separateLine` or `sameLine`. `separateLine` is the default.
     Example:
   ```json
-  {"enable": true, "location": "sameLine"}
+  { "enable": true, "location": "sameLine" }
   ```
 - `eslint.codeAction.showDocumentation` - object with properties:
   - `enable` - show open lint rule documentation web page in the quick fix menu. `true` by default.
@@ -61,4 +64,3 @@ For warnings which support an auto-fix. You can apply the quick fix by either:
 ## License
 
 MIT
-