mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
36 lines
606 B
JavaScript
36 lines
606 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,
|
|
];
|