aboutsummaryrefslogtreecommitdiff
path: root/src/rules/typescript/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-18 00:10:47 +0300
committerGitHub <noreply@github.com>2020-06-18 00:10:47 +0300
commita7aeded00994c56e4a6f24f53944b159be3a253d (patch)
tree672e1599d2e3598cf28aa90b1db719c620323e6b /src/rules/typescript/default.json
parentadf39edc06ca27c1179751601ad56ea7b89c9ab4 (diff)
parent2b9c6380f071a3fc6379a41259d9f5198d02be7b (diff)
downloadeslint-config-a7aeded00994c56e4a6f24f53944b159be3a253d.tar.xz
eslint-config-a7aeded00994c56e4a6f24f53944b159be3a253d.zip
Merge pull request #5 from valentineus/release/2020-06-17
release/2020-06-17
Diffstat (limited to 'src/rules/typescript/default.json')
-rw-r--r--src/rules/typescript/default.json32
1 files changed, 12 insertions, 20 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 2b45050..f65f761 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -16,6 +16,7 @@
"@typescript-eslint/explicit-function-return-type": [
"error",
{
+ "allowConciseArrowFunctionExpressionsStartingWithVoid": false,
"allowExpressions": false,
"allowHigherOrderFunctions": false,
"allowTypedFunctionExpressions": false
@@ -61,12 +62,9 @@
"outerIIFEBody": 1
}
],
- "@typescript-eslint/interface-name-prefix": [
+ "@typescript-eslint/method-signature-style": [
"error",
- {
- "allowUnderscorePrefix": false,
- "prefixWithI": "always"
- }
+ "property"
],
"@typescript-eslint/no-base-to-string": [
"error"
@@ -125,9 +123,7 @@
"@typescript-eslint/no-unnecessary-condition": [
"error",
{
- "allowConstantLoopConditions": false,
- "checkArrayPredicates": true,
- "ignoreRhs": true
+ "allowConstantLoopConditions": false
}
],
"@typescript-eslint/no-unnecessary-type-assertion": [
@@ -142,14 +138,6 @@
"@typescript-eslint/no-unsafe-return": [
"error"
],
- "@typescript-eslint/no-untyped-public-signature": [
- "warn",
- {
- "ignoredMethods": [
- "constructor"
- ]
- }
- ],
"@typescript-eslint/no-unused-vars": [
"error",
{
@@ -213,9 +201,13 @@
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
- "allowNullable": false,
- "allowSafe": false,
- "ignoreRhs": false
+ "allowAny": false,
+ "allowNullableBoolean": false,
+ "allowNullableNumber": false,
+ "allowNullableObject": false,
+ "allowNullableString": false,
+ "allowNumber": false,
+ "allowString": false
}
],
"@typescript-eslint/type-annotation-spacing": [
@@ -297,4 +289,4 @@
"space-before-function-paren": [
"off"
]
-}
+} \ No newline at end of file