al-quran.reflectslight.io/.eslintrc.js

20 lines
738 B
JavaScript
Raw Normal View History

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: {
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,
"@typescript-eslint/promise-function-async": 0,
"@typescript-eslint/no-misused-promises": ["error", {"checksConditionals": false}],
"no-return-assign": 0,
"no-useless-return": 0,
2022-11-11 17:11:34 +01:00
},
};