I've followed this [guide](https://emacs-lsp.github.io/lsp-mode/tutorials/reactjs-tutorial/) on how to setup lsp-mode with javascript and eslint.(I know its for react but same principles can be applied).
This issue I'm facing it that lsp eslint ignores my <rootDir>/.eslintrc settings
​
[You can see semi colon error is off but emacs lsp suggest otherwise](https://preview.redd.it/3diqiakas1x81.png?width=1889&format=png&auto=webp&s=652ac25be764cc1b3bf1fface7453eaab90ff81d)
​
[Upon adding semi colon errors go away.](https://preview.redd.it/25a1d4als1x81.png?width=695&format=png&auto=webp&s=985106aa9bad84c7a603612cf69e123761297a6b)
My setup
(use-package flycheck
:hook (prog-mode . flycheck-mode)
:preface
(defun my/typescript-mode-setup ()
"Custom setup for Typescript mode"
(setq flycheck-checker #'javascript-eslint))
:config
(add-hook 'typescript-mode-hook #'my/typescript-mode-setup)
(general-define-key
:states 'normal
:keymaps 'flycheck-mode-map
"] g" '(flycheck-next-error :which-key "Next error")
"[ g" '(flycheck-previous-error :which-key "Prev error")))
(use-package lsp-mode
:commands (lsp lsp-deferred)
:hook (prog-mode . lsp-mode)
:init
(setq lsp-keymap-prefix "C-l"
lsp-completion-provider :none)
:custom
(lsp-disabled-clients '((python-mode . pyls)))
(lsp-eslint-run "onSave")
(lsp-eslint-auto-fix-on-save t)
:config
(lsp-enable-which-key-integration t))
I've installed eslint using `npm i -g eslint` as well as `lsp-install-server`.
The `flycheck-checker` is set 'lsp.
System Info:
Emacs : 29.0.50
npm: 8.6.0
eslint: v8.14.0