mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 12:02:49 +05:30
31 lines
575 B
JavaScript
31 lines
575 B
JavaScript
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default [
|
|
{
|
|
ignores: ["**/dist/**", "**/node_modules/**", "**/.astro/**", "**/.next/**"],
|
|
},
|
|
|
|
js.configs.recommended,
|
|
|
|
...tseslint.configs.recommended,
|
|
|
|
{
|
|
files: ["**/*.ts"],
|
|
languageOptions: {
|
|
globals: globals.node,
|
|
},
|
|
},
|
|
|
|
{
|
|
files: ["**/*.tsx"],
|
|
languageOptions: {
|
|
globals: { ...globals.browser, ...globals.node },
|
|
},
|
|
},
|
|
|
|
eslintConfigPrettier,
|
|
];
|