GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — stringer/eslint.config.ts at main · koo-projects/stringer Expand file tree/ Copy patheslint.config.tsMore file actions 120 lines (119 loc) · 3.88 KB / Copy patheslint.config.tsFile metadata and controls120 lines (119 loc) · 3.88 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 import globals from "globals"; import importPlugin from "eslint-plugin-import"; import vitest from "@vitest/eslint-plugin"; import js from "@eslint/js"; import stylistic from "@stylistic/eslint-plugin"; import tseslint from "typescript-eslint"; import {defineConfig} from "eslint/config"; import perfectionist from "eslint-plugin-perfectionist"; import eslintTodo from "./.eslint_todo"; export default defineConfig([ js.configs.all, tseslint.configs.all, importPlugin.flatConfigs.recommended, vitest.configs.all, stylistic.configs.all, { ignores: [ ".eslint_todo.ts", "app/assets/builds/**", "coverage/**", "public/**", "vendor/**", ], }, { files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], languageOptions: { globals: globals.browser, parserOptions: { projectService: { allowDefaultProject: ["stylelint.config.mjs"], }, }, }, plugins: { importPlugin, perfectionist, vitest, }, rules: { "@stylistic/array-element-newline": ["error", "consistent"], "@stylistic/brace-style": ["error", "1tbs", {allowSingleLine: true}], "@stylistic/comma-dangle": ["error", "always-multiline"], "@stylistic/function-call-argument-newline": ["error", "consistent"], "@stylistic/indent": ["error", 2], "@stylistic/max-len": ["error", 80, {ignoreUrls: true}], "@stylistic/object-property-newline": ["error", {allowAllPropertiesOnSameLine: true}], "@stylistic/padded-blocks": ["error", "never"], "@stylistic/quote-props": ["error", "as-needed", {keywords: true}], "@stylistic/space-before-function-paren": ["error", {anonymous: "always", named: "never"}], "@typescript-eslint/consistent-indexed-object-style": ["error", "index-signature"], "@typescript-eslint/consistent-type-assertions": ["error", {assertionStyle: "never"}], "@typescript-eslint/explicit-member-accessibility": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-magic-numbers": "off", "@typescript-eslint/prefer-readonly-parameter-types": "off", "arrow-body-style": ["error", "always"], "func-style": ["error", "declaration"], "max-len": ["error", 84, {ignoreUrls: true}], "no-duplicate-imports": ["error", {allowSeparateTypeImports: true}], "no-inline-comments": "off", "no-magic-numbers": "off", "no-undefined": "off", "no-var": "off", "one-var": ["error", "never"], "perfectionist/sort-objects": ["error", {ignoreCase: true, order: "asc", type: "natural"}], "sort-imports": ["error", {ignoreCase: true, ignoreDeclarationSort: true}], "sort-keys": "off", "vitest/consistent-test-it": ["error", {fn: "it", withinDescribe: "it"}], "vitest/expect-expect": "off", "vitest/no-alias-methods": "off", "vitest/padding-around-all": "off", "vitest/padding-around-expect-groups": "off", "vitest/prefer-called-times": "off", "vitest/prefer-describe-function-title": "off", "vitest/prefer-expect-assertions": "off", "vitest/prefer-importing-vitest-globals": "off", "vitest/prefer-to-be-falsy": "off", "vitest/prefer-to-be-truthy": "off", "vitest/require-mock-type-parameters": "off", "vitest/require-top-level-describe": "off", }, settings: { "import/resolver": { typescript: { alwaysTryTypes: true, }, }, }, }, { files: ["spec/javascript/setup.ts"], rules: { "vitest/no-hooks": "off", "vitest/no-standalone-expect": "off", }, }, { files: ["spec/javascript/support/**/*"], rules: { "vitest/no-hooks": "off", "vitest/require-hook": "off", }, }, { files: ["app/javascript/**/*.ts"], rules: { "vitest/require-hook": "off", }, }, ...eslintTodo, ]); |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |