From 6648ec81463a26cc55c658ef5890fce9ecbddc8d Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 2 Jan 2025 18:22:33 +0100 Subject: [PATCH] chore: adjust eslint --- README.md | 2 +- eslint.config.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bfdcd92..6e1becc 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ This Starter Kit comes pre-configured with the following: - [Be a Good Commitizen](https://www.npmjs.com/package/git-cz) - pre-configured Commitizen & git-cz setup to simplify semantic git commits, versioning, and changelog generations - [Built With Testing In Mind](https://bun.sh/docs/cli/test) - pre-configured unit-testing powered by [Bun](https://bun.sh/docs/cli/test) - [Renovate](https://renovatebot.com/) - optimized & automated PR dependency updates -- [Biome](https://biomejs.dev/) - an instant, fast linter & formatter for JavaScript, TypeScript, and CSS +- [ESLint](https://eslint.org/) - for code linting _(and formatting)_ - [GitHub Actions](https://github.com/features/actions) - runs your CI _(fixes code style issues, tags releases & creates its changelogs, runs the test suite, etc.)_ ## Testing diff --git a/eslint.config.ts b/eslint.config.ts index d24b632..d0d3d85 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,6 +1,7 @@ +import type { ESLintConfig } from '@stacksjs/eslint-config' import stacks from '@stacksjs/eslint-config' -export default stacks({ +const config: ESLintConfig = stacks({ stylistic: { indent: 2, quotes: 'single', @@ -13,3 +14,5 @@ export default stacks({ 'fixtures/**', ], }) + +export default config