2022-11-02 04:04:40 +01:00
|
|
|
module.exports = {
|
2022-11-11 17:11:34 +01:00
|
|
|
extends: ["standard-with-typescript", "standard-jsx", "prettier"],
|
2022-11-02 04:04:40 +01:00
|
|
|
parserOptions: {
|
2022-11-11 17:11:34 +01:00
|
|
|
project: "./tsconfig.json",
|
2022-11-02 04:04:40 +01:00
|
|
|
},
|
|
|
|
rules: {
|
2023-01-05 03:48:35 +01:00
|
|
|
"@typescript-eslint/member-delimiter-style": 2,
|
2022-11-11 17:11:34 +01:00
|
|
|
"@typescript-eslint/semi": ["error", "always"],
|
|
|
|
"@typescript-eslint/no-extra-semi": "error",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
|
|
"@typescript-eslint/strict-boolean-expressions": 0,
|
|
|
|
"@typescript-eslint/no-floating-promises": 0,
|
|
|
|
"@typescript-eslint/prefer-nullish-coalescing": 0,
|
|
|
|
"@typescript-eslint/restrict-template-expressions": 0,
|
2022-11-12 22:55:53 +01:00
|
|
|
"@typescript-eslint/promise-function-async": 0,
|
2023-03-10 20:36:52 +01:00
|
|
|
"@typescript-eslint/consistent-type-definitions": 0,
|
2022-11-12 22:55:53 +01:00
|
|
|
"@typescript-eslint/no-misused-promises": ["error", {"checksConditionals": false}],
|
2023-01-05 01:21:52 +01:00
|
|
|
"@typescript-eslint/no-redeclare": 0,
|
2023-03-11 12:11:41 +01:00
|
|
|
"@typescript-eslint/no-non-null-assertion": 0,
|
2022-11-12 22:55:53 +01:00
|
|
|
"no-return-assign": 0,
|
|
|
|
"no-useless-return": 0,
|
2023-01-09 11:00:26 +01:00
|
|
|
"quotes": 2,
|
|
|
|
"object-curly-spacing": 2
|
2022-11-11 17:11:34 +01:00
|
|
|
},
|
|
|
|
};
|