cmake-action/eslint.config.ts
Alfi Maulana 4dfe59b3e1
Some checks are pending
Build / Build Action (push) Waiting to run
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action (ubuntu-24.04) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Test / Test Action With Specified Directories (push) Waiting to run
Test / Test Action Without Run Build (push) Waiting to run
Test / Test Action With Additional Options (push) Waiting to run
Test / Test Action With Custom Generator (push) Waiting to run
test: replace tseslint.config with defineConfig (#811)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-09-05 12:14:25 +07:00

21 lines
512 B
TypeScript

import eslint from "@eslint/js";
import { defineConfig, globalIgnores } from "eslint/config";
import tseslint from "typescript-eslint";
export default defineConfig(
globalIgnores(["dist"]),
eslint.configs.recommended,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
{
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ["rollup.config.js"],
},
tsconfigRootDir: import.meta.dirname,
},
},
},
);