mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 20:07:56 +01:00
fix: upgrade testing
This commit is contained in:
2
.npmrc
2
.npmrc
@@ -14,7 +14,7 @@ strict-peer-dependencies=false
|
||||
# Turbo occasionally performs postinstall tasks for optimal performance
|
||||
# moved to pnpm-workspace.yaml: onlyBuiltDependencies (e.g., allow turbo)
|
||||
|
||||
public-hoist-pattern[]=eslint
|
||||
public-hoist-pattern[]=eslint*
|
||||
public-hoist-pattern[]=prettier
|
||||
public-hoist-pattern[]=typescript
|
||||
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
import js from "@eslint/js";
|
||||
import eslintConfigPrettier from "eslint-config-prettier";
|
||||
import eslintTurboPlugin from "eslint-config-turbo";
|
||||
import eslintTypescript from "typescript-eslint";
|
||||
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 configs = [
|
||||
export const config = [
|
||||
js.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
...eslintTypescript.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
turbo: eslintTurboPlugin,
|
||||
turbo: turboPlugin,
|
||||
},
|
||||
rules: {
|
||||
"turbo/no-undeclared-env-vars": "warn",
|
||||
|
||||
@@ -37,9 +37,12 @@ export const config = [
|
||||
"react/react-in-jsx-scope": "off",
|
||||
},
|
||||
},
|
||||
...pluginImport.flatConfigs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
import: pluginImport,
|
||||
},
|
||||
rules: {
|
||||
...pluginImport.configs.recommended.rules,
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
|
||||
@@ -45,9 +45,13 @@ export const config = [
|
||||
"react/react-in-jsx-scope": "off",
|
||||
},
|
||||
},
|
||||
...pluginImport.flatConfigs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
import: pluginImport,
|
||||
},
|
||||
rules: {
|
||||
...pluginImport.configs.recommended.rules,
|
||||
"import/no-unresolved": "off",
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"private": true,
|
||||
"version": "0.28.0",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./next": "./next.js",
|
||||
|
||||
@@ -10,9 +10,12 @@ export const config = [
|
||||
js.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
...tseslint.configs.recommended,
|
||||
...pluginImport.flatConfigs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
import: pluginImport,
|
||||
},
|
||||
rules: {
|
||||
...pluginImport.configs.recommended.rules,
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user