Skip to content

Instantly share code, notes, and snippets.

@mtimbs

mtimbs/.eslintrc.json

Last active Feb 27, 2020
Embed
What would you like to do?
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