fix: eslint (#8185)

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
This commit is contained in:
Aaron 2025-12-05 17:33:51 +07:00 committed by GitHub
parent 82c970ac4b
commit 85d90030cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
138 changed files with 5054 additions and 4747 deletions

View file

@ -0,0 +1,10 @@
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,5 +0,0 @@
{
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "es5"
}

View file

@ -1,4 +0,0 @@
node_modules
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,5 +1,10 @@
.next
.turbo
out/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
build/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -7,20 +7,18 @@
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown",
"check:lint": "eslint . --max-warnings 0",
"check:lint": "eslint . --max-warnings=30",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=30",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@plane/types": "workspace:*"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",

View file

@ -1,4 +0,0 @@
node_modules
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,2 +1,10 @@
# Ignore generated build artifacts
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -12,17 +12,15 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 2",
"check:lint": "eslint . --max-warnings=29",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=29",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"@types/ws": "^8.5.10",

View file

@ -3,13 +3,10 @@
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"lib": ["ES2020"],
"rootDir": ".",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["./src", "./*.ts"],
"include": ["src"],
"exclude": ["dist", "build", "node_modules"]
}

View file

@ -1,4 +0,0 @@
node_modules
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.next
.vercel
.tubro
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -18,11 +18,11 @@
"scripts": {
"build": "tsc && tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 30",
"check:lint": "eslint . --max-warnings=1435",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=1435",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"peerDependencies": {
@ -77,10 +77,8 @@
"yjs": "^13.6.20"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",

View file

@ -1,11 +1,15 @@
{
"extends": "@plane/typescript-config/react-library.json",
"compilerOptions": {
"baseUrl": ".",
"exactOptionalPropertyTypes": false,
"noImplicitReturns": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"paths": {
"src/*": ["./src/*"],
"@/*": ["./src/core/*"],
"@/styles/*": ["./src/styles/*"],
"@/plane-editor/*": ["./src/ce/*"]
"@/plane-editor/*": ["./src/ce/*"],
"@/styles/*": ["./src/styles/*"]
}
},
"include": ["src/**/*", "index.d.ts"],

View file

@ -0,0 +1,10 @@
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,92 +0,0 @@
const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: ["prettier", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["react", "react-hooks", "@typescript-eslint", "import"],
globals: {
React: true,
JSX: true,
},
env: {
node: true,
browser: true,
},
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
rules: {
"no-useless-escape": "off",
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
"import/no-duplicates": ["error", { considerQueryString: true }],
"no-useless-catch": "warn",
"no-case-declarations": "error",
"no-undef": "error",
"no-unreachable": "error",
"arrow-body-style": ["error", "as-needed"],
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-img-element": "off",
"react/jsx-key": "error",
"react/self-closing-comp": ["error", { component: true, html: true }],
"react/jsx-boolean-value": "error",
"react/jsx-no-duplicate-props": "error",
"react-hooks/exhaustive-deps": "warn",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/consistent-type-imports": [
"error",
{
prefer: "type-imports",
fixStyle: "separate-type-imports",
disallowTypeAnnotations: false,
},
],
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/prefer-ts-expect-error": "warn",
"import/order": [
"warn",
{
groups: ["builtin", "external", "internal", "parent", "sibling"],
pathGroups: [
{
pattern: "@plane/**",
group: "external",
position: "after",
},
{
pattern: "@/**",
group: "internal",
position: "before",
},
],
pathGroupsExcludedImportTypes: ["builtin", "internal", "react"],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
},
ignorePatterns: [".*.js", "node_modules/", "dist/"],
};

View file

@ -1,116 +0,0 @@
const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
module.exports = {
extends: ["next", "prettier", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["react", "@typescript-eslint", "import"],
globals: {
React: "readonly",
JSX: "readonly",
},
env: {
node: true,
browser: true,
},
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
ignorePatterns: [".*.js", "node_modules/"],
rules: {
"no-useless-escape": "off",
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
"import/no-duplicates": ["error", { considerQueryString: true }],
"no-useless-catch": "warn",
"no-case-declarations": "error",
"no-undef": "error",
"no-unreachable": "error",
"arrow-body-style": ["error", "as-needed"],
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-img-element": "off",
"react/jsx-key": "error",
"react/self-closing-comp": ["error", { component: true, html: true }],
"react/jsx-boolean-value": "error",
"react/jsx-no-duplicate-props": "error",
"react-hooks/exhaustive-deps": "warn",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/consistent-type-imports": [
"error",
{
prefer: "type-imports",
fixStyle: "separate-type-imports",
disallowTypeAnnotations: false,
},
],
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/prefer-ts-expect-error": "warn",
"@typescript-eslint/naming-convention": [
"warn",
{
selector: "variable",
format: ["camelCase", "snake_case", "UPPER_CASE", "PascalCase"],
leadingUnderscore: "allow",
},
],
"import/order": [
"warn",
{
groups: ["builtin", "external", "internal", "parent", "sibling"],
pathGroups: [
{
pattern: "react",
group: "external",
position: "before",
},
{
pattern: "lucide-react",
group: "external",
position: "after",
},
{
pattern: "@headlessui/**",
group: "external",
position: "after",
},
{
pattern: "@plane/**",
group: "external",
position: "after",
},
{
pattern: "@/**",
group: "internal",
},
{
pattern: "public/**",
group: "internal",
position: "after",
},
],
pathGroupsExcludedImportTypes: ["builtin", "internal", "react"],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
},
};

View file

@ -1,23 +0,0 @@
{
"name": "@plane/eslint-config",
"private": true,
"version": "1.1.0",
"license": "AGPL-3.0",
"files": [
"library.js",
"next.js",
"server.js"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"eslint": "8.57.1",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-config-turbo": "^2.5.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.1.1",
"typescript": "catalog:"
}
}

View file

@ -1,69 +0,0 @@
const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
module.exports = {
extends: ["prettier", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
env: {
node: true,
es6: true,
},
plugins: ["@typescript-eslint", "import"],
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
ignorePatterns: [".*.js", "node_modules/"],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"import/no-duplicates": ["error", { considerQueryString: true }],
"import/order": [
"warn",
{
groups: ["builtin", "external", "internal", "parent", "sibling"],
pathGroups: [
{
pattern: "@plane/**",
group: "external",
position: "after",
},
{
pattern: "@/**",
group: "internal",
position: "before",
},
],
pathGroupsExcludedImportTypes: ["builtin", "internal", "react"],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/consistent-type-imports": [
"error",
{
prefer: "type-imports",
fixStyle: "separate-type-imports",
disallowTypeAnnotations: false,
},
],
},
};

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,4 +1,10 @@
.turbo
out/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
build/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -15,20 +15,18 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 6",
"check:lint": "eslint . --max-warnings=60",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=60",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"react": "catalog:"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,7 +1,10 @@
.turbo
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
.next
.vercel
.turbo
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -15,11 +15,11 @@
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown",
"check:lint": "eslint . --max-warnings 2",
"check:lint": "eslint . --max-warnings=51",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=51",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -31,9 +31,7 @@
"react": "catalog:"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.next
.vercel
.tubro
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -12,11 +12,11 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 0",
"check:lint": "eslint . --max-warnings=0",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=0",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -24,9 +24,7 @@
"winston": "^3.17.0"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"tsdown": "catalog:",

View file

@ -1,10 +1,10 @@
{
"extends": "@plane/typescript-config/node-library.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"experimentalDecorators": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]

View file

@ -1,4 +0,0 @@
build/*
dist/*
out/*
storybook-static/*

View file

@ -1,29 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js", "plugin:storybook/recommended"],
rules: {
"import/order": [
"warn",
{
groups: ["builtin", "external", "internal", "parent", "sibling"],
pathGroups: [
{
pattern: "react",
group: "external",
position: "before",
},
{
pattern: "@plane/**",
group: "external",
position: "after",
},
],
pathGroupsExcludedImportTypes: ["builtin", "internal", "react"],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
},
};

View file

@ -1,5 +1,10 @@
.next
.turbo
out/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
build/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -7,11 +7,11 @@
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown",
"check:lint": "eslint . --max-warnings 7",
"check:lint": "eslint . --max-warnings=1306",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=1306",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
@ -81,16 +81,13 @@
"use-font-face-observer": "^1.3.0"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@storybook/addon-designs": "10.0.2",
"@storybook/addon-docs": "9.1.10",
"@storybook/react-vite": "9.1.10",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"eslint-plugin-storybook": "9.1.10",
"storybook": "9.1.10",
"tsdown": "catalog:",
"typescript": "catalog:"

View file

@ -1,2 +1 @@
// eslint-disable-next-line @typescript-eslint/no-require-imports
module.exports = require("@plane/tailwind-config/postcss.config.js");

View file

@ -1,6 +1,5 @@
export * from "./double-circle-icon";
export * from "./circle-dot-full-icon";
export * from "./contrast-icon";
export * from "./circle-dot-full-icon";
export * from "./cycle-group-icon";
export * from "./double-circle-icon";
export * from "./helper";

View file

@ -1,11 +1,10 @@
export type { ISvgIcons } from "./type";
export type { IconName } from "./registry";
export type { IconProps } from "./icon";
export { ICON_REGISTRY } from "./registry";
export * from "./actions";
export * from "./arrows";
export * from "./activity-icon";
export * from "./ai-icon";
export * from "./arrows";
export * from "./at-risk-icon";
export * from "./attachments";
export * from "./bar-icon";
@ -29,11 +28,11 @@ export * from "./full-screen-panel-icon";
export * from "./github-icon";
export * from "./gitlab-icon";
export * from "./helpers";
export * from "./icon";
export * from "./icon-wrapper";
export * from "./icon";
export * from "./in-progress-icon";
export * from "./info-fill-icon";
export * from "./info-icon";
export * from "./in-progress-icon";
export * from "./intake";
export * from "./layer-stack";
export * from "./layers-icon";
@ -65,5 +64,5 @@ export * from "./transfer-icon";
export * from "./tree-map-icon";
export * from "./updates-icon";
export * from "./user-activity-icon";
export * from "./workspace";
export * from "./workspace-icon";
export * from "./workspace";

View file

@ -1,5 +1,10 @@
{
"extends": "@plane/typescript-config/react-library.json",
"include": ["src"],
"compilerOptions": {
"exactOptionalPropertyTypes": false,
"noUnusedLocals": false,
"noImplicitReturns": false
},
"exclude": ["node_modules", "dist"]
}

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.turbo
.next
.vercel
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -14,11 +14,11 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 62",
"check:lint": "eslint . --max-warnings=1131",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=1131",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -28,9 +28,7 @@
"file-type": "^21.0.0"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"tsdown": "catalog:",
"typescript": "catalog:"
},

View file

@ -77,3 +77,5 @@ export default class DashboardService extends APIService {
});
}
}
export { DashboardService };

View file

@ -102,3 +102,5 @@ export default class WebhookService extends APIService {
});
}
}
export { WebhookService };

View file

@ -6,3 +6,5 @@ export default class IntakeService extends APIService {
super(BASE_URL || API_BASE_URL);
}
}
export { IntakeService };

View file

@ -16,3 +16,5 @@ export default class IntakeIssueService extends APIService {
});
}
}
export { IntakeIssueService };

View file

@ -1,5 +1,9 @@
{
"extends": "@plane/typescript-config/react-library.json",
"compilerOptions": {
"exactOptionalPropertyTypes": false,
"noUnusedLocals": false
},
"include": ["./src"],
"exclude": ["dist", "build", "node_modules"]
}

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -0,0 +1,10 @@
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -7,11 +7,11 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"check:lint": "eslint . --max-warnings 4",
"check:lint": "eslint . --max-warnings=191",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=191",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -25,9 +25,7 @@
"zod": "^3.22.2"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"typescript": "catalog:"

View file

@ -1,12 +1,11 @@
{
"extends": "@plane/typescript-config/react-library.json",
"compilerOptions": {
"jsx": "react",
"lib": ["esnext", "dom"],
"exactOptionalPropertyTypes": false,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["./src"],
"exclude": ["dist", "build", "node_modules"]
"include": ["src"],
"exclude": ["dist", "node_modules"]
}

View file

@ -0,0 +1,10 @@
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,7 +1,10 @@
.turbo
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
.next
.vercel
.turbo
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -11,11 +11,11 @@
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown",
"check:lint": "eslint . --max-warnings 36",
"check:lint": "eslint . --max-warnings=151",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=151",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"peerDependencies": {
@ -23,9 +23,7 @@
"react-dom": "catalog:"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",

View file

@ -0,0 +1,10 @@
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,24 +1,30 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "esnext",
"lib": [
"es2023",
"DOM",
"DOM.Iterable"
],
"moduleDetection": "force",
"module": "preserve",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"composite": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": false,
"verbatimModuleSyntax": true,
"esModuleInterop": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"lib": ["es2023"],
"module": "preserve",
"moduleDetection": "force",
"moduleResolution": "bundler",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true
"target": "esnext",
"tsBuildInfoFile": ".turbo/tsconfig.tsbuildinfo",
"verbatimModuleSyntax": true
}
}
}

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.next
.vercel
.tubro
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -22,11 +22,11 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"postcss": "postcss styles/globals.css -o styles/output.css --watch",
"check:lint": "eslint . --max-warnings 94",
"check:lint": "eslint . --max-warnings=643",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=643",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"peerDependencies": {
@ -57,10 +57,8 @@
},
"devDependencies": {
"@chromatic-com/storybook": "^1.4.0",
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",

View file

@ -1,2 +1 @@
// eslint-disable-next-line @typescript-eslint/no-require-imports
module.exports = require("@plane/tailwind-config/postcss.config.js");

View file

@ -1,4 +1,3 @@
// eslint-disable-next-line @typescript-eslint/no-require-imports
const config = require("@plane/tailwind-config/tailwind.config.js");
config.content.files = ["./src/**/*.{js,ts,jsx,tsx}"];

View file

@ -1,5 +1,11 @@
{
"extends": "@plane/typescript-config/react-library.json",
"include": ["src"],
"exclude": ["dist", "build", "node_modules"]
"compilerOptions": {
"noUnusedLocals": false,
"noUnusedParameters": false,
"exactOptionalPropertyTypes": false,
"noImplicitReturns": false
},
"exclude": ["dist", "node_modules"]
}

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.turbo
.next
.vercel
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -15,11 +15,11 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 20",
"check:lint": "eslint . --max-warnings=1062",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=1062",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -43,9 +43,7 @@
"uuid": "catalog:"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"@types/hast": "^3.0.4",
"@types/lodash-es": "catalog:",
"@types/mdast": "^4.0.4",

View file

@ -1,5 +1,11 @@
{
"extends": "@plane/typescript-config/react-library.json",
"include": ["./src"],
"exclude": ["dist", "build", "node_modules"]
"include": ["src"],
"compilerOptions": {
"noImplicitReturns": false,
"noUnusedParameters": false,
"noUnusedLocals": false,
"exactOptionalPropertyTypes": false
},
"exclude": ["dist", "node_modules"]
}