Skip to content

Commit

Permalink
chore: clean up lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Mar 24, 2024
1 parent 8764f0c commit 5b4f762
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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' }]
},
Expand Down
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"packages/type-plus/src/types",
"packages/type-plus/src/type-checker",
"pages/dist",
"*.astro"
"*.astro",
"package.json"
]
},
"linter": {
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/kind/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export type * from './fn.js'
export type * from './id.js'
export type * from './id.js'
55 changes: 0 additions & 55 deletions packages/type-plus/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/type-plus/jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
export default {
preset: '@repobuddy/jest/presets/ts-esm-watch',
modulePathIgnorePatterns: ['<rootDir>/src/types', '<rootDir>/src/type-checker'],
roots: ['<rootDir>/src'],
roots: ['<rootDir>/src']
}
1 change: 1 addition & 0 deletions packages/type-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5b4f762

Please sign in to comment.