Skip to content

Instantly share code, notes, and snippets.

@benawad
Created May 22, 2019 00:00
Show Gist options
  • Save benawad/a52f3a470898d40a606088460df473df to your computer and use it in GitHub Desktop.
Save benawad/a52f3a470898d40a606088460df473df to your computer and use it in GitHub Desktop.
module.exports = {
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
extends: [
"plugin:@typescript-eslint/recommended" // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: "module" // Allows for the use of imports
},
rules: {
"no-shadow": "warn",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off"
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment