Skip to content

Commit

Permalink
Merge branch 'main' into ac/pm-17363/add-limit-item-deletion-property
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyVo16 committed Jan 29, 2025
2 parents 4592797 + 320a459 commit 82172b1
Show file tree
Hide file tree
Showing 207 changed files with 3,198 additions and 1,315 deletions.
29 changes: 0 additions & 29 deletions .eslintignore

This file was deleted.

258 changes: 0 additions & 258 deletions .eslintrc.json

This file was deleted.

9 changes: 3 additions & 6 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@
},
{
"matchPackageNames": [
"@angular-eslint/eslint-plugin-template",
"@angular-eslint/eslint-plugin",
"@angular-eslint/schematics",
"@angular-eslint/template-parser",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"angular-eslint",
"eslint-config-prettier",
"eslint-import-resolver-typescript",
"eslint-plugin-import",
Expand All @@ -86,7 +82,8 @@
"eslint-plugin-tailwindcss",
"eslint",
"husky",
"lint-staged"
"lint-staged",
"typescript-eslint"
],
"description": "Architecture owned dependencies",
"commitMessagePrefix": "[deps] Architecture:",
Expand Down
5 changes: 4 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { dirname, join } from "path";

import { StorybookConfig } from "@storybook/angular";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";
import remarkGfm from "remark-gfm";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";

const config: StorybookConfig = {
stories: [
Expand Down Expand Up @@ -29,6 +30,8 @@ const config: StorybookConfig = {
getAbsolutePath("@storybook/addon-designs"),
getAbsolutePath("@storybook/addon-interactions"),
{
// @storybook/addon-docs is part of @storybook/addon-essentials
// eslint-disable-next-line storybook/no-uninstalled-addons
name: "@storybook/addon-docs",
options: {
mdxPluginOptions: {
Expand Down
8 changes: 6 additions & 2 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ const darkTheme = create({
});

export const getPreferredColorScheme = () => {
if (!globalThis || !globalThis.matchMedia) return "light";
if (!globalThis || !globalThis.matchMedia) {
return "light";
}

const isDarkThemePreferred = globalThis.matchMedia("(prefers-color-scheme: dark)").matches;
if (isDarkThemePreferred) return "dark";
if (isDarkThemePreferred) {
return "dark";
}

return "light";
};
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"**/_locales/*[^n]/messages.json": true
},
"rust-analyzer.linkedProjects": ["apps/desktop/desktop_native/Cargo.toml"],
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.useFlatConfig": true
}
26 changes: 0 additions & 26 deletions apps/browser/.eslintrc.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { dirname, join } from "path";
import path from "path";
import path, { dirname, join } from "path";

import type { StorybookConfig } from "@storybook/web-components-webpack5";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";
import remarkGfm from "remark-gfm";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";

const getAbsolutePath = (value: string): string =>
dirname(require.resolve(join(value, "package.json")));
Expand Down
Loading

0 comments on commit 82172b1

Please sign in to comment.