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
|
# Turbo occasionally performs postinstall tasks for optimal performance
|
||||||
# moved to pnpm-workspace.yaml: onlyBuiltDependencies (e.g., allow turbo)
|
# 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[]=prettier
|
||||||
public-hoist-pattern[]=typescript
|
public-hoist-pattern[]=typescript
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
import js from "@eslint/js";
|
import js from "@eslint/js";
|
||||||
import eslintConfigPrettier from "eslint-config-prettier";
|
import eslintConfigPrettier from "eslint-config-prettier";
|
||||||
import eslintTurboPlugin from "eslint-config-turbo";
|
import turboPlugin from "eslint-plugin-turbo";
|
||||||
import eslintTypescript from "typescript-eslint";
|
import tseslint from "typescript-eslint";
|
||||||
import onlyWarnPlugin from "eslint-plugin-only-warn";
|
import onlyWarnPlugin from "eslint-plugin-only-warn";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import("eslint").Linter.Config}
|
* @type {import("eslint").Linter.Config}
|
||||||
*/
|
*/
|
||||||
export const configs = [
|
export const config = [
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
eslintConfigPrettier,
|
eslintConfigPrettier,
|
||||||
...eslintTypescript.configs.recommended,
|
...tseslint.configs.recommended,
|
||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
turbo: eslintTurboPlugin,
|
turbo: turboPlugin,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"turbo/no-undeclared-env-vars": "warn",
|
"turbo/no-undeclared-env-vars": "warn",
|
||||||
|
|||||||
@@ -37,9 +37,12 @@ export const config = [
|
|||||||
"react/react-in-jsx-scope": "off",
|
"react/react-in-jsx-scope": "off",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
...pluginImport.flatConfigs.recommended,
|
|
||||||
{
|
{
|
||||||
|
plugins: {
|
||||||
|
import: pluginImport,
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
...pluginImport.configs.recommended.rules,
|
||||||
"import/order": [
|
"import/order": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -45,9 +45,13 @@ export const config = [
|
|||||||
"react/react-in-jsx-scope": "off",
|
"react/react-in-jsx-scope": "off",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
...pluginImport.flatConfigs.recommended,
|
|
||||||
{
|
{
|
||||||
|
plugins: {
|
||||||
|
import: pluginImport,
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
...pluginImport.configs.recommended.rules,
|
||||||
|
"import/no-unresolved": "off",
|
||||||
"import/order": [
|
"import/order": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.28.0",
|
"version": "0.28.0",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./index.js",
|
".": "./index.js",
|
||||||
"./next": "./next.js",
|
"./next": "./next.js",
|
||||||
|
|||||||
@@ -10,9 +10,12 @@ export const config = [
|
|||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
eslintConfigPrettier,
|
eslintConfigPrettier,
|
||||||
...tseslint.configs.recommended,
|
...tseslint.configs.recommended,
|
||||||
...pluginImport.flatConfigs.recommended,
|
|
||||||
{
|
{
|
||||||
|
plugins: {
|
||||||
|
import: pluginImport,
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
...pluginImport.configs.recommended.rules,
|
||||||
"import/order": [
|
"import/order": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user