This repository has no description
0

Configure Feed

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

format fix

+132 -125
+127 -120
eslint.config.mjs
··· 1 1 // For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format 2 - import storybook from "eslint-plugin-storybook"; 2 + import storybook from 'eslint-plugin-storybook'; 3 3 4 4 import js from '@eslint/js'; 5 5 import prettierPlugin from 'eslint-plugin-prettier'; 6 6 import tseslint from '@typescript-eslint/eslint-plugin'; 7 7 import tsparser from '@typescript-eslint/parser'; 8 8 9 - export default [js.configs.recommended, { 10 - ignores: [ 11 - 'src/webapp/**', 12 - 'dist/**', 13 - 'node_modules/**', 14 - 'src/modules/atproto/infrastructure/lexicon/**', 15 - ], 16 - }, { 17 - files: ['**/*.js'], 18 - languageOptions: { 19 - ecmaVersion: 2022, 20 - sourceType: 'script', 21 - globals: { 22 - console: 'readonly', 23 - process: 'readonly', 24 - Buffer: 'readonly', 25 - __dirname: 'readonly', 26 - __filename: 'readonly', 27 - module: 'readonly', 28 - require: 'readonly', 29 - exports: 'readonly', 30 - global: 'readonly', 31 - setTimeout: 'readonly', 9 + export default [ 10 + js.configs.recommended, 11 + { 12 + ignores: [ 13 + 'src/webapp/**', 14 + 'dist/**', 15 + 'node_modules/**', 16 + 'src/modules/atproto/infrastructure/lexicon/**', 17 + ], 18 + }, 19 + { 20 + files: ['**/*.js'], 21 + languageOptions: { 22 + ecmaVersion: 2022, 23 + sourceType: 'script', 24 + globals: { 25 + console: 'readonly', 26 + process: 'readonly', 27 + Buffer: 'readonly', 28 + __dirname: 'readonly', 29 + __filename: 'readonly', 30 + module: 'readonly', 31 + require: 'readonly', 32 + exports: 'readonly', 33 + global: 'readonly', 34 + setTimeout: 'readonly', 35 + }, 36 + }, 37 + plugins: { 38 + prettier: prettierPlugin, 39 + }, 40 + rules: { 41 + 'prettier/prettier': 'error', 42 + 'no-unused-vars': 'warn', 43 + 'no-console': 'warn', 32 44 }, 33 45 }, 34 - plugins: { 35 - prettier: prettierPlugin, 46 + { 47 + files: ['**/*.ts'], 48 + plugins: { 49 + '@typescript-eslint': tseslint, 50 + prettier: prettierPlugin, 51 + }, 52 + languageOptions: { 53 + parser: tsparser, 54 + ecmaVersion: 2022, 55 + sourceType: 'module', 56 + globals: { 57 + console: 'readonly', 58 + process: 'readonly', 59 + Buffer: 'readonly', 60 + __dirname: 'readonly', 61 + __filename: 'readonly', 62 + module: 'readonly', 63 + require: 'readonly', 64 + exports: 'readonly', 65 + global: 'readonly', 66 + fetch: 'readonly', 67 + // Jest globals 68 + describe: 'readonly', 69 + test: 'readonly', 70 + it: 'readonly', 71 + expect: 'readonly', 72 + beforeAll: 'readonly', 73 + beforeEach: 'readonly', 74 + afterAll: 'readonly', 75 + afterEach: 'readonly', 76 + jest: 'readonly', 77 + URLSearchParams: 'readonly', 78 + setTimeout: 'readonly', 79 + NodeJS: 'readonly', 80 + clearTimeout: 'readonly', 81 + setImmediate: 'readonly', 82 + }, 83 + }, 84 + rules: { 85 + 'prettier/prettier': 'error', 86 + 'no-unused-vars': 'off', // Turn off base rule 87 + '@typescript-eslint/no-unused-vars': 'warn', 88 + 'no-console': 'warn', 89 + }, 36 90 }, 37 - rules: { 38 - 'prettier/prettier': 'error', 39 - 'no-unused-vars': 'warn', 40 - 'no-console': 'warn', 41 - }, 42 - }, { 43 - files: ['**/*.ts'], 44 - plugins: { 45 - '@typescript-eslint': tseslint, 46 - prettier: prettierPlugin, 47 - }, 48 - languageOptions: { 49 - parser: tsparser, 50 - ecmaVersion: 2022, 51 - sourceType: 'module', 52 - globals: { 53 - console: 'readonly', 54 - process: 'readonly', 55 - Buffer: 'readonly', 56 - __dirname: 'readonly', 57 - __filename: 'readonly', 58 - module: 'readonly', 59 - require: 'readonly', 60 - exports: 'readonly', 61 - global: 'readonly', 62 - fetch: 'readonly', 63 - // Jest globals 64 - describe: 'readonly', 65 - test: 'readonly', 66 - it: 'readonly', 67 - expect: 'readonly', 68 - beforeAll: 'readonly', 69 - beforeEach: 'readonly', 70 - afterAll: 'readonly', 71 - afterEach: 'readonly', 72 - jest: 'readonly', 73 - URLSearchParams: 'readonly', 74 - setTimeout: 'readonly', 75 - NodeJS: 'readonly', 76 - clearTimeout: 'readonly', 77 - setImmediate: 'readonly', 91 + { 92 + files: ['**/*.test.ts', '**/*.spec.ts'], 93 + languageOptions: { 94 + parser: tsparser, 95 + ecmaVersion: 2022, 96 + sourceType: 'module', 97 + globals: { 98 + console: 'readonly', 99 + process: 'readonly', 100 + Buffer: 'readonly', 101 + __dirname: 'readonly', 102 + __filename: 'readonly', 103 + module: 'readonly', 104 + require: 'readonly', 105 + exports: 'readonly', 106 + global: 'readonly', 107 + fetch: 'readonly', 108 + // Jest globals 109 + describe: 'readonly', 110 + test: 'readonly', 111 + it: 'readonly', 112 + expect: 'readonly', 113 + beforeAll: 'readonly', 114 + beforeEach: 'readonly', 115 + afterAll: 'readonly', 116 + afterEach: 'readonly', 117 + jest: 'readonly', 118 + // Browser globals for e2e tests using Playwright 119 + document: 'readonly', 120 + window: 'readonly', 121 + navigator: 'readonly', 122 + location: 'readonly', 123 + setTimeout: 'readonly', 124 + NodeJS: 'readonly', 125 + clearTimeout: 'readonly', 126 + }, 127 + }, 128 + plugins: { 129 + '@typescript-eslint': tseslint, 130 + prettier: prettierPlugin, 78 131 }, 79 - }, 80 - rules: { 81 - 'prettier/prettier': 'error', 82 - 'no-unused-vars': 'off', // Turn off base rule 83 - '@typescript-eslint/no-unused-vars': 'warn', 84 - 'no-console': 'warn', 85 - }, 86 - }, { 87 - files: ['**/*.test.ts', '**/*.spec.ts'], 88 - languageOptions: { 89 - parser: tsparser, 90 - ecmaVersion: 2022, 91 - sourceType: 'module', 92 - globals: { 93 - console: 'readonly', 94 - process: 'readonly', 95 - Buffer: 'readonly', 96 - __dirname: 'readonly', 97 - __filename: 'readonly', 98 - module: 'readonly', 99 - require: 'readonly', 100 - exports: 'readonly', 101 - global: 'readonly', 102 - fetch: 'readonly', 103 - // Jest globals 104 - describe: 'readonly', 105 - test: 'readonly', 106 - it: 'readonly', 107 - expect: 'readonly', 108 - beforeAll: 'readonly', 109 - beforeEach: 'readonly', 110 - afterAll: 'readonly', 111 - afterEach: 'readonly', 112 - jest: 'readonly', 113 - // Browser globals for e2e tests using Playwright 114 - document: 'readonly', 115 - window: 'readonly', 116 - navigator: 'readonly', 117 - location: 'readonly', 118 - setTimeout: 'readonly', 119 - NodeJS: 'readonly', 120 - clearTimeout: 'readonly', 132 + rules: { 133 + 'prettier/prettier': 'error', 134 + 'no-unused-vars': 'off', 135 + '@typescript-eslint/no-unused-vars': 'warn', 136 + 'no-console': 'warn', 121 137 }, 122 138 }, 123 - plugins: { 124 - '@typescript-eslint': tseslint, 125 - prettier: prettierPlugin, 126 - }, 127 - rules: { 128 - 'prettier/prettier': 'error', 129 - 'no-unused-vars': 'off', 130 - '@typescript-eslint/no-unused-vars': 'warn', 131 - 'no-console': 'warn', 132 - }, 133 - }, ...storybook.configs["flat/recommended"]]; 139 + ...storybook.configs['flat/recommended'], 140 + ];
+2 -2
src/webapp/.storybook/vitest.setup.ts
··· 1 - import * as a11yAddonAnnotations from "@storybook/addon-a11y/preview"; 1 + import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview'; 2 2 import { setProjectAnnotations } from '@storybook/nextjs-vite'; 3 3 import * as projectAnnotations from './preview'; 4 4 5 5 // This is an important step to apply the right configuration when testing your stories. 6 6 // More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations 7 - setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]); 7 + setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]);
+1 -1
src/webapp/components/AddToCollectionModal.tsx
··· 143 143 </Text> 144 144 )} 145 145 146 - <Group gap={"xs"} grow> 146 + <Group gap={'xs'} grow> 147 147 <Button 148 148 onClick={handleSubmit} 149 149 disabled={submitting || selectedCollectionIds.length === 0}
+1 -1
src/webapp/features/collections/components/collectionSelector/Skeleton.CollectionSelector.tsx
··· 2 2 3 3 export default function CollectionSelectorSkeleton() { 4 4 return ( 5 - <Stack gap={"xs"}> 5 + <Stack gap={'xs'}> 6 6 <Skeleton w={'100%'} h={50} /> 7 7 <Skeleton w={'100%'} h={50} /> 8 8 <Skeleton w={'100%'} h={50} />
+1 -1
src/webapp/vitest.shims.d.ts
··· 1 - /// <reference types="@vitest/browser/providers/playwright" /> 1 + /// <reference types="@vitest/browser/providers/playwright" />