Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
altano committed Sep 8, 2024
1 parent 96e867d commit 2e8d56a
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 97 deletions.
7 changes: 6 additions & 1 deletion packages/eslint-config-altano/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
ignorePatterns: [
"dist/",
".eslintrc.cjs",
".tsup",
"node_modules/",
"rollup.config.js",
"__fixtures__/",
Expand Down Expand Up @@ -72,7 +73,11 @@ module.exports = {
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrors: "none",
},
],
"@typescript-eslint/no-floating-promises": "error",
},
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-altano/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"lint:timing": "TIMING=1 pnpm lint"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^14.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/html-cdnify/src/HtmlTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import trumpet, { type Trumpet } from "@gofunky/trumpet";
import streamToPromise from "stream-to-promise";

// @TODO Move...
export interface TrumpetTransformStream extends Trumpet {}
export type TrumpetTransformStream = Trumpet;

export default class HtmlTransformer {
private transformStream: TrumpetTransformStream;
Expand Down
1 change: 1 addition & 0 deletions packages/remark-mdx-toc-with-slugs/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
],

Expand Down
1 change: 1 addition & 0 deletions packages/repository-tools/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
"tests/utils/**/*",
],
Expand Down
1 change: 1 addition & 0 deletions packages/satori-fit-text/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
],

Expand Down
1 change: 1 addition & 0 deletions packages/tiny-async-pool/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
],

Expand Down
1 change: 1 addition & 0 deletions packages/use-element-observer/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
],

Expand Down
1 change: 1 addition & 0 deletions packages/vitest-plugins/src/matchers/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ interface CustomMatchers<R = unknown> {
toThrowErrorMatching(expected: unknown): R;
}

/* eslint-disable @typescript-eslint/no-empty-object-type */
declare module "vitest" {
interface Assertion<T> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
Expand Down
1 change: 1 addition & 0 deletions packages/vitest-plugins/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineProject({
"tests/e2e",
"playwright.config.ts",
".eslintrc.cjs",
".tsup",
"tests/unit/**/*.benchmark.{ts,tsx}",
],

Expand Down
Loading

0 comments on commit 2e8d56a

Please sign in to comment.