From f21e090cca76a85bf6b6c89c8797c79f28d5a163 Mon Sep 17 00:00:00 2001 From: Francesco Trotta Date: Wed, 27 Nov 2024 16:50:34 +0100 Subject: [PATCH] fix: add type tests (#16) * fix: add type tests * match formatting to Prettier 3.4 --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/ci.yml | 15 +++++++++++++++ docs/rules/no-duplicate-imports.md | 2 +- docs/rules/no-empty-blocks.md | 4 ++-- docs/rules/no-invalid-at-rules.md | 26 +++++++++++++------------- docs/rules/no-invalid-properties.md | 4 ++-- package.json | 5 +++-- src/index.js | 27 +++++++++++++++------------ src/rules/no-duplicate-imports.js | 2 +- src/rules/no-empty-blocks.js | 2 +- src/rules/no-invalid-at-rules.js | 2 +- src/rules/no-invalid-properties.js | 2 +- tests/types/tsconfig.json | 9 +++++++++ tests/types/types.test.ts | 21 +++++++++++++++++++++ 14 files changed, 86 insertions(+), 37 deletions(-) create mode 100644 tests/types/tsconfig.json create mode 100644 tests/types/types.test.ts diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1f44735..533ec11 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,7 +6,7 @@ #### Prerequisites checklist -- [ ] I have read the [contributing guidelines](https://github.com/eslint/eslint/blob/HEAD/CONTRIBUTING.md). +- [ ] I have read the [contributing guidelines](https://github.com/eslint/eslint/blob/HEAD/CONTRIBUTING.md).