diff options
| author | Michael Chris Lopez <hello@michaelchris.space> | 2022-11-07 17:58:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-07 17:58:08 +0800 |
| commit | f40eae01b8e353e9d6e61792567c7d3b9856fd20 (patch) | |
| tree | f343fc06005239d070d2f8d8d50c9cb0fb3415ff /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar.gz nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar.bz2 nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar.lz nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar.xz nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.tar.zst nvim-lspconfig-f40eae01b8e353e9d6e61792567c7d3b9856fd20.zip | |
fix(eslint): support flat config (#2229)
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
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/eslint.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/eslint.lua b/lua/lspconfig/server_configurations/eslint.lua index 7f2d34cd..6ebe65ee 100644 --- a/lua/lspconfig/server_configurations/eslint.lua +++ b/lua/lspconfig/server_configurations/eslint.lua @@ -47,6 +47,7 @@ local root_file = { '.eslintrc.yaml', '.eslintrc.yml', '.eslintrc.json', + 'eslint.config.js', 'package.json', } |
