Skip to content

Instantly share code, notes, and snippets.

@GalloDaSballo
Created January 15, 2021 12:16
Show Gist options
  • Save GalloDaSballo/3ff6db80888fa75e14a61d4fbf3a089d to your computer and use it in GitHub Desktop.
Save GalloDaSballo/3ff6db80888fa75e14a61d4fbf3a089d to your computer and use it in GitHub Desktop.
module.exports = {
extends: "airbnb-typescript-prettier",
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
},
rules: {
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
ts: "never",
tsx: "never",
},
],
"import/prefer-default-export": "off",
"react/destructuring-assignment": "off",
"react/react-in-jsx-scope": "off",
"react/button-has-type": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"jsx-a11y/anchor-is-valid": "off",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment