Skip to content

Instantly share code, notes, and snippets.

@AllGistsEqual
Last active January 4, 2021 11:46
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 AllGistsEqual/50cbd45c2ff23863f3b57362f646bd4b to your computer and use it in GitHub Desktop.
Save AllGistsEqual/50cbd45c2ff23863f3b57362f646bd4b to your computer and use it in GitHub Desktop.
{
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "react", "prettier"],
"rules": {
"func-names": 0,
"import/extensions": ["error", "never"],
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"jsx-a11y/accessible-emoji": 0,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "auto"
}
],
"react/jsx-filename-extension": [1, {
"extensions": [
".ts",
".tsx"
]
}],
"react/jsx-one-expression-per-line": "warn",
"react/prop-types": 0,
"react/require-default-props": 0,
"react/style-prop-object": 0,
"semi": ["error", "never"],
"no-plusplus": ["error", {"allowForLoopAfterthoughts": true}],
"no-shadow": "off",
"no-use-before-define": "off",
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-use-before-define": ["error", {
"functions": true,
"classes": true,
"variables": false
}],
"@typescript-eslint/no-var-requires": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment