-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from builder-group/80-migrate-to-eslint-9
Migrate to Eslint 9
- Loading branch information
Showing
293 changed files
with
8,997 additions
and
10,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
'google-webfonts-client': patch | ||
'validation-adapters': patch | ||
'validation-adapter': patch | ||
'elevenlabs-client': patch | ||
'feature-logger': patch | ||
'@blgc/openapi-router': patch | ||
'feature-fetch': patch | ||
'feature-react': patch | ||
'feature-state': patch | ||
'figma-connect': patch | ||
'xml-tokenizer': patch | ||
'eprel-client': patch | ||
'feature-form': patch | ||
'@blgc/config': patch | ||
'@blgc/types': patch | ||
'@blgc/utils': patch | ||
'@blgc/cli': patch | ||
--- | ||
|
||
Migrated to Eslint 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,7 @@ | ||
/** | ||
* @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} | ||
* @see https://prettier.io/docs/en/configuration.html | ||
* @type {import("prettier").Config} | ||
*/ | ||
module.exports = { | ||
// Standard prettier options | ||
useTabs: true, | ||
printWidth: 100, | ||
singleQuote: true, | ||
trailingComma: 'none', | ||
bracketSameLine: false, | ||
semi: true, | ||
quoteProps: 'consistent', | ||
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'], | ||
|
||
// prettier-plugin-sort-imports options | ||
// https://github.com/IanVS/prettier-plugin-sort-imports | ||
importOrder: [ | ||
// External packages | ||
'<THIRD_PARTY_MODULES>', | ||
// builder.group packages | ||
'^@blgc/', | ||
// Internal packages | ||
'^@/', | ||
'', | ||
// Relative | ||
'^[../]', | ||
'^[./]' | ||
], | ||
importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'], | ||
importOrderTypeScriptVersion: '5.2.2' | ||
...require('@blgc/config/prettier') | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* @see https://eslint.org/docs/latest/use/configure/configuration-files | ||
* @type {import("eslint").Linter.Config} | ||
*/ | ||
module.exports = [...require('@blgc/config/eslint/library')]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
examples/openapi-router/express/petstore/src/middlewares/error-middleware.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/openapi-router/express/petstore/src/middlewares/invalid-path-middleware.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
examples/openapi-router/hono/petstore/src/handlers/error-handler.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/openapi-router/hono/petstore/src/handlers/invalid-path-handler.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,50 @@ | ||
{ | ||
"name": "community", | ||
"description": "Community libraries maintained by builder.group", | ||
"private": true, | ||
"scripts": { | ||
"build": "pnpm build:cli && turbo run build", | ||
"build:cli": "turbo run build --filter=@blgc/cli && pnpm run cli:hello", | ||
"packages:version": "changeset version", | ||
"packages:publish": "changeset publish", | ||
"packages:change": "changeset", | ||
"clean": "turbo run clean && shx rm -rf node_modules", | ||
"install:clean": "pnpm run clean && pnpm install", | ||
"lint": "turbo lint", | ||
"format": "prettier --write \"**/*.{ts,tsx,md,json,js,jsx}\"", | ||
"update:latest": "turbo run update:latest", | ||
"cli:hello": "chmod +x ./scripts/cli.sh && sh ./scripts/cli.sh hello" | ||
"description": "Community libraries maintained by builder.group", | ||
"keywords": [], | ||
"homepage": "https://builder.group/?source=github", | ||
"bugs": { | ||
"url": "https://github.com/builder-group/monorepo/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/builder-group/monorepo.git" | ||
}, | ||
"keywords": [], | ||
"author": "@bennobuilder", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/builder-group/monorepo/issues" | ||
"author": "@bennobuilder", | ||
"scripts": { | ||
"build": "pnpm build:cli && turbo run build", | ||
"build:cli": "turbo run build --filter=@blgc/cli && pnpm run cli:hello", | ||
"clean": "turbo run clean && shx rm -rf node_modules", | ||
"cli:hello": "chmod +x ./scripts/cli.sh && sh ./scripts/cli.sh hello", | ||
"format": "prettier --write \"**/*.{ts,tsx,md,json,js,jsx}\"", | ||
"install:clean": "pnpm run clean && pnpm install", | ||
"lint": "turbo lint", | ||
"packages:change": "changeset", | ||
"packages:publish": "changeset publish", | ||
"packages:version": "changeset version", | ||
"update:latest": "turbo run update:latest" | ||
}, | ||
"homepage": "https://builder.group/?source=github", | ||
"devDependencies": { | ||
"@blgc/cli": "workspace:*", | ||
"@blgc/config": "workspace:*", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "^2.27.9", | ||
"@ianvs/prettier-plugin-sort-imports": "^4.3.1", | ||
"@changesets/cli": "^2.27.10", | ||
"@ianvs/prettier-plugin-sort-imports": "^4.4.0", | ||
"@size-limit/esbuild": "^11.1.6", | ||
"@size-limit/esbuild-why": "^11.1.6", | ||
"@size-limit/preset-small-lib": "^11.1.6", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-tailwindcss": "^0.6.8", | ||
"eslint": "^9.15.0", | ||
"prettier": "^3.4.1", | ||
"prettier-plugin-tailwindcss": "^0.6.9", | ||
"shx": "^0.3.4", | ||
"size-limit": "^11.1.6", | ||
"turbo": "^2.2.3", | ||
"typescript": "^5.6.3", | ||
"vitest": "^2.1.4" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"updateConfig": { | ||
"ignoreDependencies": [ | ||
"eslint" | ||
] | ||
} | ||
"turbo": "^2.3.3", | ||
"typescript": "^5.7.2", | ||
"vitest": "^2.1.6" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=20" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# Archived packages and code chunks | ||
# Archived packages and code chunks |
Oops, something went wrong.