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