Make use of the new webcomponent for notices
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / .eslintrc.js
1 module.exports = {
2 root: true,
3 parser: "@typescript-eslint/parser",
4 parserOptions: {
5 tsconfigRootDir: __dirname,
6 project: ["./tsconfig.json"]
7 },
8 plugins: ["@typescript-eslint"],
9 extends: [
10 "eslint:recommended",
11 "plugin:@typescript-eslint/recommended",
12 "plugin:@typescript-eslint/recommended-type-checked",
13 "plugin:@typescript-eslint/strict",
14 "plugin:@typescript-eslint/strict-type-checked",
15 "plugin:@typescript-eslint/stylistic",
16 "plugin:@typescript-eslint/stylistic-type-checked",
17 "prettier"
18 ],
19 rules: {
20 "@typescript-eslint/no-non-null-assertion": 0,
21 "@typescript-eslint/consistent-type-definitions": 0,
22 "@typescript-eslint/prefer-nullish-coalescing": 0,
23 "@typescript-eslint/no-unused-vars": [
24 "error", {
25 "argsIgnorePattern": "^_"
26 }
27 ],
28 "@typescript-eslint/strict-boolean-expressions": [
29 "error", {
30 "allowNullableBoolean": true
31 }
32 ],
33 }
34 };