Last active
February 27, 2020 14:29
-
-
Save mtimbs/fdcc35ae78bece7b6bebf74fb90d8a85 to your computer and use it in GitHub Desktop.
default eslint configuration for serverless-typescript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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