diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 9e0938843..6626150f3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -7,7 +7,7 @@ module.exports = { parserOptions: { sourceType: 'module' }, - extends: ['plugin:harmony/latest', 'plugin:yml/standard'], + extends: ['plugin:yml/standard'], rules: { 'yml/quotes': ['error', { prefer: 'single' }] }, diff --git a/biome.json b/biome.json index dd5a95601..2c8ea8240 100644 --- a/biome.json +++ b/biome.json @@ -14,7 +14,8 @@ "packages/type-plus/src/types", "packages/type-plus/src/type-checker", "pages/dist", - "*.astro" + "*.astro", + "package.json" ] }, "linter": { diff --git a/package.json b/package.json index 3dd688bf9..38315ab12 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,15 @@ "scripts": { "build:doc": "typedoc --plugin typedoc-plugin-extras", "build": "turbo run build", + "check": "biome check .", "clean": "turbo run clean", "coverage": "turbo run coverage", "cs": "changeset", "depcheck": "turbo run depcheck", - "lint": "biome lint .", + "format": "biome format .", + "lint": "run-p lint:biome lint:eslint", + "lint:biome": "biome lint .", + "lint:eslint": "eslint .", "nuke:local": "rimraf node_modules", "nuke": "turbo run nuke && pnpm nuke:local", "p": "pnpm --filter pages", @@ -29,13 +33,7 @@ "@changesets/cli": "^2.25.2", "@commitlint/cli": "^19.0.0", "@commitlint/config-conventional": "^19.0.0", - "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^7.0.0", "eslint": "^8.52.0", - "eslint-config-prettier": "^9.0.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-harmony": "^7.1.2", - "eslint-plugin-import": "^2.28.1", "eslint-plugin-yml": "~1.13.0", "husky": "^9.0.0", "jest": "^29.7.0", diff --git a/packages/kind/src/index.ts b/packages/kind/src/index.ts index 305c6df03..4f9236eae 100644 --- a/packages/kind/src/index.ts +++ b/packages/kind/src/index.ts @@ -1,2 +1,2 @@ export type * from './fn.js' -export type * from './id.js' \ No newline at end of file +export type * from './id.js' diff --git a/packages/type-plus/.eslintrc.json b/packages/type-plus/.eslintrc.json deleted file mode 100644 index 4990b0d0b..000000000 --- a/packages/type-plus/.eslintrc.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "env": { - "jest": true - }, - "ignorePatterns": [ - "cjs", - "esm", - "node_modules", - "src/type-checker", - "src/types", - "tslib" - ], - "overrides": [ - { - "extends": [ - "plugin:harmony/ts-recommended", - "plugin:import/recommended", - "plugin:import/typescript" - ], - "settings": { - "import/resolver": { - "typescript": true - } - }, - "files": [ - "*.ts", - "*.tsx" - ], - "plugins": [ - "import" - ], - "rules": { - "@typescript-eslint/ban-types": "off", - "@typescript-eslint/no-unused-vars": "off", - "no-use-before-define": "off", - "brace-style": [ - "error", - "1tbs" - ], - "harmony/ts-member-delimiter-style": [ - "error", - { - "multiline": { - "delimiter": "comma" - }, - "singleline": { - "delimiter": "comma" - } - } - ], - "import/export": "off" - } - } - ] -} \ No newline at end of file diff --git a/packages/type-plus/jest.config.mjs b/packages/type-plus/jest.config.mjs index 94c8ee002..d70cb7c94 100644 --- a/packages/type-plus/jest.config.mjs +++ b/packages/type-plus/jest.config.mjs @@ -2,5 +2,5 @@ export default { preset: '@repobuddy/jest/presets/ts-esm-watch', modulePathIgnorePatterns: ['/src/types', '/src/type-checker'], - roots: ['/src'], + roots: ['/src'] } diff --git a/packages/type-plus/package.json b/packages/type-plus/package.json index 094470eec..9e0e0ddb8 100644 --- a/packages/type-plus/package.json +++ b/packages/type-plus/package.json @@ -60,6 +60,7 @@ "clean": "rimraf cjs coverage esm lib libm tslib --glob *.tsbuildinfo", "coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --coverage", "depcheck": "depcheck", + "lint": "pnpm -w biome lint packages/type-plus", "nuke": "pnpm clean && rimraf node_modules", "size": "size-limit", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",