Skip to content

Instantly share code, notes, and snippets.

@ShizukuIchi
Last active December 25, 2019 15:47
Show Gist options
  • Save ShizukuIchi/3cc0ae4e74774690b5359ba7214260b2 to your computer and use it in GitHub Desktop.
Save ShizukuIchi/3cc0ae4e74774690b5359ba7214260b2 to your computer and use it in GitHub Desktop.
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:promise/recommended',
'plugin:unicorn/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
rules: {
'import/prefer-default-export': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/import-index': 'off',
'@typescript-eslint/explicit-function-return-type': [
'error',
{ allowExpressions: true, allowTypedFunctionExpressions: true },
],
'@typescript-eslint/no-use-before-define': [
'error',
{ functions: false, classes: true, variables: true, typedefs: true },
],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment