| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
The name `server_configurations` is extremely verbose and irritatingly
formal and dogmatic. This overlong name is a constant nuisance when
reading, writing, and coding.
It's also not even correct: these configurations are just as much
"client" configurations as they are "server" configurations.
Solution:
- Rename to a shorter name.
- Leave placeholder files for any old URLs that link to the old
location.
|
| | |
|
| |
|
|
| |
As [Support for the new ESLint flat config files has improved](https://github.com/microsoft/vscode-eslint?tab=readme-ov-file#version-305---pre-release)
|
| | |
|
| |
|
|
|
| |
* fix: support eslint mjs flat config file
* fix: styling
|
| |
|
| |
https://github.com/microsoft/vscode-eslint/pull/1646
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix(stylelint_lsp): update root directory pattern
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* feat(util): add `add_package_json_to_config_files_if_field_exists` function
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(stylelint_lsp): update update root directory pattern implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(eslint): update update root directory pattern implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(util): update `is_windows` detection
Co-authored-by: Raphael <glephunter@gmail.com>
* fix(util): update new function name
Co-authored-by: Raphael <glephunter@gmail.com>
* fix(server_configurations): update new function name implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(stylelint_lsp): fix duplicate equals
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
---------
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
Co-authored-by: Raphael <glephunter@gmail.com>
|
| |
|
|
|
| |
* docs(eslint): fix on save example creates a buflocal autocmd
* docs(eslint): fix example spacing
|
| | |
|
| |
|
|
| |
ESLint server would not find root directory when config is set in
`package.json`
|
| |
|
|
| |
Eslint have a new config scheme called flag config. Will become the only supported config in v9.
https://eslint.org/blog/2022/08/new-config-system-part-2/#the-new-config-file%3A-eslint.config.js
|
| |
|
|
|
| |
* fix: check the package.json has eslintConfig field for eslint
* fix: remove duplicate windows check
|
| | |
|
| |
|
| |
ESLint supports analyzing Svelte files.
|
| |
|
|
|
|
|
| |
https://yarnpkg.com/features/pnp
Yarn's PnP feature changes the way packages are installed. Instead of building on the `node_modules` resolution, it introduces a single `.pnp.*js` file in the project. This file is responsible for orchestrating and resolving dependencies. The eslint LSP server will assume that regular `node_modules` resolution applies when locating the `eslint` package - which will not work in Yarn PnP projects.
To work around this, Yarn provides the ability to run Node programs in "PnP-compat" mode via `yarn exec` and `yarn node`. My understanding is that this simply hooks into the `require()` function to resolve modules via PnP instead Node's builtin module resolution.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even though this file name was removed from the official docs
https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-file-formats
Eslint still supports the older `.eslintrc` and it is used in tests
https://github.com/eslint/eslint/blob/9ecd42f36462331a0d697e74323a4d24f0cf02fc/tests/fixtures/.eslintrc
The loading is done by the legacy package `@eslint/eslintrc` that is
still used by eslint itself
```
~/Documents/repositories/eslint
$ npm instll && rg '".eslintrc"' ./node_modules/@eslint/eslintrc/lib -B 6
./node_modules/@eslint/eslintrc/lib/config-array-factory.js
66-const configFilenames = [
67- ".eslintrc.js",
68- ".eslintrc.cjs",
69- ".eslintrc.yaml",
70- ".eslintrc.yml",
71- ".eslintrc.json",
72: ".eslintrc",
```
|
| | |
|
| | |
|
| |
|
|
|
| |
Now the `open` command is used to execute eslint's `openDoc` function,
but `xdg-open` is the default command in Linux used to open a file or
URL in the user's preferred application.
|
| |
|
|
|
| |
* location mode uses the workspace folder location or
the file location (if no workspace folder is open) as
the working directory
|
| | |
|
| |
|
| |
Co-authored-by: Eloy Toro <eloytoro@gmail.com>
|
| | |
|
| |
|