Skip to content

Commit 1b4181f

Browse files
committed
Update version to 0.2.9 and eslint version
This fix updates extension version to next one. It also update eslint and some of the linting rules. Signed-off-by: Denis Golovin [email protected]
1 parent 961f675 commit 1b4181f

File tree

11 files changed

+18385
-2431
lines changed

11 files changed

+18385
-2431
lines changed

.eslintrc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,19 @@
8181
"no-global-strict": 0,
8282
"no-irregular-whitespace": ["error"],
8383
"no-param-reassign": ["error", { "props": false }],
84-
"no-shadow": ["error"],
84+
"no-shadow": 1,
8585
"no-underscore-dangle": 0,
8686
"no-useless-constructor": "off",
8787
"@typescript-eslint/no-use-before-define": 2,
8888
"@typescript-eslint/await-thenable": "error",
8989
"@typescript-eslint/unbound-method": ["error", { "ignoreStatic": true }],
90+
"@typescript-eslint/restrict-template-expressions": 1,
91+
"@typescript-eslint/no-floating-promises": 1,
92+
"@typescript-eslint/no-unsafe-return": 1,
93+
"@typescript-eslint/no-unsafe-member-access": 1,
94+
"@typescript-eslint/no-unsafe-call": 1,
95+
"@typescript-eslint/no-unsafe-assignment": 1,
96+
"@typescript-eslint/no-var-requires": 1,
9097
"no-var": 2,
9198
"object-shorthand": ["error", "properties"],
9299
"prefer-const": ["error", { "destructuring": "all" }],
@@ -102,7 +109,8 @@
102109
"rules": {
103110
"no-unused-expressions": "off",
104111
"@typescript-eslint/unbound-method" : "off",
105-
"max-nested-callbacks" : "off"
112+
"max-nested-callbacks" : "off",
113+
"@typescript-eslint/no-unsafe-assignment": 1
106114
}
107115
}
108116
]

0 commit comments

Comments
 (0)