mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-26 07:44:23 +00:00
21 lines
521 B
JavaScript
21 lines
521 B
JavaScript
import eslint from "@eslint/js";
|
|
import { globalIgnores } from "eslint/config";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(
|
|
globalIgnores(["dist"]),
|
|
eslint.configs.recommended,
|
|
tseslint.configs.strictTypeChecked,
|
|
tseslint.configs.stylisticTypeChecked,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: {
|
|
allowDefaultProject: ["eslint.config.js", "rollup.config.js"],
|
|
},
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
);
|