Skip to content

Instantly share code, notes, and snippets.

@agirorn
Created June 13, 2023 16:48
Show Gist options
  • Save agirorn/90a10e115ff112bd780933223b39bed9 to your computer and use it in GitHub Desktop.
Save agirorn/90a10e115ff112bd780933223b39bed9 to your computer and use it in GitHub Desktop.
Better eslint support in VScode and Neovim
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