prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 48 lines 1.2 kB view raw
1import eslint from "@eslint/js"; 2import tseslint from "typescript-eslint"; 3 4export default tseslint.config( 5 { 6 ignores: [ 7 "**/lib/**", 8 "**/dist/**", 9 "node_modules", 10 "pnpm-lock.yaml", 11 "**/setup-vitest.ts", 12 "**/tests/**", 13 ], 14 }, 15 { linterOptions: { reportUnusedDisableDirectives: "error" } }, 16 eslint.configs.recommended, 17 { 18 extends: [ 19 tseslint.configs.strictTypeChecked, 20 tseslint.configs.stylisticTypeChecked, 21 ], 22 files: ["**/*.{js,ts}"], 23 languageOptions: { 24 parserOptions: { 25 projectService: { allowDefaultProject: ["*.config.*s"] }, 26 }, 27 }, 28 rules: { 29 "@typescript-eslint/consistent-type-definitions": "off", 30 "@typescript-eslint/no-unsafe-assignment": "off", 31 "@typescript-eslint/no-unsafe-argument": "off", 32 "@typescript-eslint/no-unsafe-member-access": "off", 33 "@typescript-eslint/no-unsafe-call": "off", 34 "@typescript-eslint/restrict-plus-operands": "off", 35 "@typescript-eslint/no-unused-vars": [ 36 "error", 37 { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, 38 ], 39 }, 40 }, 41 { 42 files: ["**/*.{test,bench}.ts"], 43 rules: { 44 "@typescript-eslint/no-floating-promises": "off", 45 "@typescript-eslint/no-unused-vars": "off", 46 }, 47 }, 48);