Skip to content

Instantly share code, notes, and snippets.

@babette-landmesser
Created September 23, 2019 08:31
Show Gist options
  • Save babette-landmesser/b966d7b9f073f4efa0ec2cb55101af50 to your computer and use it in GitHub Desktop.
Save babette-landmesser/b966d7b9f073f4efa0ec2cb55101af50 to your computer and use it in GitHub Desktop.
module.exports = {
"env": {
"browser": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 5,
"project": "tsconfig.json",
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint"
],
"settings": {},
"rules": {
"@typescript-eslint/indent": ["error", 4, {
"SwitchCase": 1,
"CallExpression": {"arguments": "first"},
"FunctionExpression": {"parameters": "first"},
"FunctionDeclaration": {"parameters": "first"}
}],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"singleline": {
"delimiter": "semi",
"requireLast": true
}
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment