X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-eslint%2FReadme.md;h=6cdb264007e9ff46cb817a14160ab9c96504b31a;hp=6e4e2180c2fa4ef81c7c4227b135c4c8f8338c03;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-eslint/Readme.md b/.config/coc/extensions/node_modules/coc-eslint/Readme.md index 6e4e2180..6cdb2640 100644 --- a/.config/coc/extensions/node_modules/coc-eslint/Readme.md +++ b/.config/coc/extensions/node_modules/coc-eslint/Readme.md @@ -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 -