mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 20:07:56 +01:00
31 lines
632 B
JavaScript
31 lines
632 B
JavaScript
import js from "@eslint/js";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import turboPlugin from "eslint-plugin-turbo";
|
|
import tseslint from "typescript-eslint";
|
|
import onlyWarnPlugin from "eslint-plugin-only-warn";
|
|
|
|
/**
|
|
* @type {import("eslint").Linter.Config}
|
|
*/
|
|
export const config = [
|
|
js.configs.recommended,
|
|
eslintConfigPrettier,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
plugins: {
|
|
turbo: turboPlugin,
|
|
},
|
|
rules: {
|
|
"turbo/no-undeclared-env-vars": "warn",
|
|
},
|
|
},
|
|
{
|
|
plugins: {
|
|
onlyWarn: onlyWarnPlugin,
|
|
},
|
|
},
|
|
{
|
|
ignores: ["dist/**", "node_modules/"],
|
|
},
|
|
];
|