Created
May 22, 2019 00:00
-
-
Save benawad/a52f3a470898d40a606088460df473df to your computer and use it in GitHub Desktop.
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
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