Skip to content

Instantly share code, notes, and snippets.

@mtimbs
Last active February 27, 2020 14:29
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 mtimbs/fdcc35ae78bece7b6bebf74fb90d8a85 to your computer and use it in GitHub Desktop.
Save mtimbs/fdcc35ae78bece7b6bebf74fb90d8a85 to your computer and use it in GitHub Desktop.
default eslint configuration for serverless-typescript
{
"extends": [
"airbnb-base",
"plugin:jest/all",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"jest",
"@typescript-eslint"
],
"root": true,
"globals": {},
"rules": {
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
"import/prefer-default-export": "off",
"max-len": ["error", {
"code": 150,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}]
},
"parser": "@typescript-eslint/parser",
"env": {},
"overrides": [],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@src", "./src"],
["@tests", "./tests"],
["@queries", "./queries"]
],
"extensions": [
".ts",
".js"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment