/[sudobot]/trunk/eslint.config.mjs
ViewVC logotype

Diff of /trunk/eslint.config.mjs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 631 by rakinar2, Mon Jul 29 17:59:26 2024 UTC revision 632 by rakinar2, Thu Oct 10 17:53:11 2024 UTC
# Line 6  import tseslint from "typescript-eslint" Line 6  import tseslint from "typescript-eslint"
6    
7  export default tseslint.config(  export default tseslint.config(
8      {      {
9          extends: [eslint.configs.recommended, ...tseslint.configs.recommended],          extends: [eslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked],
10          languageOptions: {          languageOptions: {
11              ecmaVersion: "latest",              ecmaVersion: "latest",
12              sourceType: "module",              sourceType: "module",
# Line 23  export default tseslint.config( Line 23  export default tseslint.config(
23          },          },
24          rules: {          rules: {
25              indent: "off",              indent: "off",
26                semi: ["warn", "always"],
27                "no-var": "off",
28              "linebreak-style": ["error", "unix"],              "linebreak-style": ["error", "unix"],
29              quotes: [              quotes: [
30                  "warn",                  "warn",
# Line 31  export default tseslint.config( Line 33  export default tseslint.config(
33                      avoidEscape: true                      avoidEscape: true
34                  }                  }
35              ],              ],
             semi: ["warn", "always"],  
36              "@typescript-eslint/no-var-requires": "off",              "@typescript-eslint/no-var-requires": "off",
37              "@typescript-eslint/consistent-type-imports": [              "@typescript-eslint/consistent-type-imports": [
38                  "error",                  "error",
# Line 47  export default tseslint.config( Line 48  export default tseslint.config(
48                  "error",                  "error",
49                  { accessibility: "explicit" }                  { accessibility: "explicit" }
50              ],              ],
51              "@typescript-eslint/no-unused-vars": "off"              "@typescript-eslint/no-unused-vars": "off",
52                "@typescript-eslint/no-unsafe-member-access": "off",
53                "@typescript-eslint/no-unsafe-call": "off",
54                "@typescript-eslint/no-unsafe-assignment": "off",
55                "@typescript-eslint/no-unsafe-return": "off",
56                "@typescript-eslint/no-unsafe-argument": "off",
57                "@typescript-eslint/restrict-template-expressions": "off"
58          },          },
59          files: ["src/**/*.ts"],          files: ["src/**/*.ts"],
60          ignores: [          ignores: [

Legend:
Removed from v.631  
changed lines
  Added in v.632

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26