mirror of
https://github.com/acamarata/temporal-hijri.git
synced 2026-06-30 19:04:29 +00:00
20 lines
628 B
JavaScript
20 lines
628 B
JavaScript
import tsParser from "@typescript-eslint/parser";
|
|
import tsPlugin from "@typescript-eslint/eslint-plugin";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import { typescript } from "@acamarata/eslint-config";
|
|
|
|
export default [
|
|
{
|
|
files: ["**/*.ts"],
|
|
plugins: { "@typescript-eslint": tsPlugin },
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
parserOptions: { project: true, tsconfigRootDir: import.meta.dirname },
|
|
},
|
|
},
|
|
...typescript.map((config) => ({ files: ["**/*.ts"], ...config })),
|
|
eslintConfigPrettier,
|
|
{
|
|
ignores: ["dist/", "node_modules/", "test.mjs", "test-cjs.cjs"],
|
|
},
|
|
];
|