Skip to content

Instantly share code, notes, and snippets.

@jkolyer
Created November 9, 2020 07:03
Show Gist options
  • Save jkolyer/533501768af12fc7906b7150ecebb1a0 to your computer and use it in GitHub Desktop.
Save jkolyer/533501768af12fc7906b7150ecebb1a0 to your computer and use it in GitHub Desktop.
Typescript CRA eslintrc file
module.exports = {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment