1
0
mirror of https://github.com/eleith/emailjs.git synced 2024-07-02 11:08:51 +00:00
emailjs/.eslintrc.json

52 lines
908 B
JSON
Raw Normal View History

2018-05-27 04:25:08 +00:00
{
2020-04-23 04:26:49 +00:00
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"modules": true
},
"sourceType": "module"
},
2018-05-27 04:25:08 +00:00
"env": {
"node": true
},
"plugins": [
2020-04-23 04:26:49 +00:00
"@typescript-eslint"
2018-05-27 04:25:08 +00:00
],
"extends": [
"eslint:recommended",
2020-05-24 14:47:49 +00:00
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
2018-05-27 04:25:08 +00:00
],
"rules": {
2020-05-24 14:47:49 +00:00
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": [
"error",
{
"ignoreRestArgs": true
}
],
2018-06-04 16:39:26 +00:00
"curly": [
"error",
"all"
],
2018-05-27 04:25:08 +00:00
"linebreak-style": [
"error",
"unix"
],
"no-case-declarations": "off",
"no-console": "off",
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
2020-04-23 04:26:49 +00:00
"valid-jsdoc": "error"
2018-05-27 04:25:08 +00:00
}
}