aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..f78dc92
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,17 @@
+module.exports = {
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
+ parser: '@typescript-eslint/parser',
+ plugins: ['@typescript-eslint'],
+ rules: {
+ "@typescript-eslint/no-non-null-assertion": "off",
+ "@typescript-eslint/no-unused-vars": [1, {
+ varsIgnorePattern: "^_",
+ argsIgnorePattern: "^_",
+ }],
+ "@typescript-eslint/no-explicit-any": "off",
+ "max-len": [2, 100],
+ "semi": [2, "always"],
+ "comma-dangle": [2, "always-multiline"],
+ },
+ root: true,
+};