[READ ONLY MIRROR] Spark Social AppView Server github.com/sprksocial/server
atproto deno hono lexicon
5
fork

Configure Feed

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

add dev config files

+134
+99
.eslintrc
··· 1 + { 2 + "root": true, 3 + "extends": [ 4 + "eslint:recommended", 5 + "plugin:@typescript-eslint/base", 6 + "plugin:@typescript-eslint/eslint-recommended", 7 + "plugin:@typescript-eslint/recommended", 8 + "plugin:prettier/recommended", 9 + "plugin:import/recommended", 10 + "plugin:import/typescript" 11 + ], 12 + "plugins": ["n"], 13 + "ignorePatterns": ["dist", "node_modules"], 14 + "rules": { 15 + "no-var": "error", 16 + "prefer-const": "warn", 17 + "no-misleading-character-class": "warn", 18 + "eqeqeq": ["error", "always", { "null": "ignore" }], 19 + "n/global-require": "error", 20 + "n/no-extraneous-import": "error", 21 + "n/prefer-node-protocol": "error", 22 + "import/extensions": ["off", "ignorePackages"], 23 + "import/export": "off", 24 + "import/namespace": "off", 25 + "import/no-deprecated": "error", 26 + "import/no-absolute-path": "error", 27 + "import/no-dynamic-require": "error", 28 + "import/no-self-import": "error", 29 + "import/order": [ 30 + "error", 31 + { 32 + "named": true, 33 + "distinctGroup": true, 34 + "alphabetize": { "order": "asc" }, 35 + "newlines-between": "never", 36 + "groups": [ 37 + "builtin", 38 + "external", 39 + "internal", 40 + "parent", 41 + ["index", "sibling"], 42 + "object" 43 + ] 44 + } 45 + ], 46 + "@typescript-eslint/no-unused-vars": [ 47 + "warn", 48 + { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } 49 + ], 50 + "@typescript-eslint/ban-ts-comment": "off", 51 + "@typescript-eslint/no-empty-interface": "off", 52 + "@typescript-eslint/explicit-module-boundary-types": "off", 53 + "@typescript-eslint/no-empty-function": "off", 54 + "@typescript-eslint/no-explicit-any": "off" 55 + }, 56 + "overrides": [ 57 + { 58 + "files": ["jest.config.js"], 59 + "env": { "commonjs": true } 60 + }, 61 + { 62 + "files": ["jest.setup.js"], 63 + "env": { "jest": true } 64 + }, 65 + { 66 + "files": "*.js", 67 + "rules": { 68 + "@typescript-eslint/no-var-requires": "off" 69 + } 70 + }, 71 + { 72 + "files": ["**/*.test.ts", "**/tests/**/*.ts"], 73 + "rules": { 74 + "n/no-extraneous-import": [ 75 + "error", 76 + { "allowModules": ["@atproto/dev-env"] } 77 + ] 78 + } 79 + } 80 + ], 81 + "settings": { 82 + "node": { "version": ">=18.7.0" }, 83 + "import/internal-regex": "^@atproto(?:-labs)?/", 84 + "import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] }, 85 + "import/resolver": { 86 + "typescript": { 87 + "project": [ 88 + "tsconfig.json", 89 + "packages/oauth/*/tsconfig.json", 90 + "packages/internal/*/tsconfig.json", 91 + "packages/*/tsconfig.json" 92 + ] 93 + }, 94 + "node": { 95 + "extensions": [".js", ".jsx", ".json"] 96 + } 97 + } 98 + } 99 + }
+14
.prettierignore
··· 1 + node_modules 2 + interop-test-files 3 + __snapshots__ 4 + dist 5 + pnpm-lock.yaml 6 + .pnpm* 7 + .changeset 8 + CHANGELOG.md 9 + 10 + # Prettier is used to format the code during codegen 11 + packages/api/src/client 12 + packages/bsky/src/lexicon 13 + packages/pds/src/lexicon 14 + packages/ozone/src/lexicon
+21
.prettierrc
··· 1 + { 2 + "trailingComma": "all", 3 + "tabWidth": 2, 4 + "semi": false, 5 + "singleQuote": true, 6 + "overrides": [ 7 + { 8 + "files": "*.hbs", 9 + "options": { 10 + "singleQuote": false 11 + } 12 + }, 13 + { 14 + "files": [".eslintrc"], 15 + "options": { 16 + "parser": "json", 17 + "trailingComma": "none" 18 + } 19 + } 20 + ] 21 + }