Skip to content

Instantly share code, notes, and snippets.

@notblizzard
Created July 20, 2020 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notblizzard/b8f2ad8dfc24c7a4fe3506c03d7335a1 to your computer and use it in GitHub Desktop.
Save notblizzard/b8f2ad8dfc24c7a4fe3506c03d7335a1 to your computer and use it in GitHub Desktop.
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"prettier/@typescript-eslint",
],
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "none",
},
],
"@typescript-eslint/no-non-null-assertion": [0],
"@typescript-eslint/camelcase": ["error", { allow: ["created_at"] }],
"@typescript-eslint/explicit-function-return-type": [
"error",
{ allowExpressions: true },
],
"dot-notation": [2],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment