Created
June 13, 2023 16:48
-
-
Save agirorn/90a10e115ff112bd780933223b39bed9 to your computer and use it in GitHub Desktop.
Better eslint support in VScode and Neovim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("path"); | |
module.exports = { | |
extends: ["your-rules"], | |
parserOptions: { | |
// Required to improve eslint support ing VScode and neovim | |
// https://github.com/microsoft/vscode-eslint/issues/1170#issuecomment-1044201504 | |
project: path.join(__dirname, "tsconfig.eslint.json"), | |
}, | |
ignorePatterns: ["src/graphqlTypes.ts"], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment