Skip to content

Commit

Permalink
chore: remove js, jsx, mjs, cjs check
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Oct 20, 2024
1 parent 3f5ed29 commit 8408867
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:type": "tsc --noEmit",
"clean": "rimraf ./dist && rimraf ./coverage",
Expand Down
3 changes: 1 addition & 2 deletions configs/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"resolveJsonModule": true,
"allowJs": true
"resolveJsonModule": true
},
"exclude": ["dist", "esm", "build", "node_modules"]
}
1 change: 0 additions & 1 deletion configs/tsconfig/nextjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
Expand Down
2 changes: 1 addition & 1 deletion configs/tsup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:type": "tsc --noEmit",
"clean": "rimraf ./dist && rimraf ./coverage",
Expand Down
2 changes: 1 addition & 1 deletion docs/suspensive.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "commonjs",
"scripts": {
"build": "next build",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,mdx}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts,mdx}\"",
"ci:type": "tsc --noEmit",
"clean": "rimraf ./.next",
"dev": "next dev -p 4000",
Expand Down
2 changes: 1 addition & 1 deletion packages/jotai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/jotai/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals", "@vitest/browser/providers/playwright"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "jest --coverage",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs", "./babel.config.cjs"],
"include": ["."],
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"scripts": {
"build": "tsup",
"ci:attw": "attw --pack",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"build": "tsup",
"ci:attw": "attw --pack",
"ci:bench": "vitest bench --run",
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:publint": "publint --strict",
"ci:test": "vitest run --coverage --typecheck",
"ci:type": "tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/react-library.json",
"include": [".", "eslint.config.mjs"],
"include": ["."],
"compilerOptions": {
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
Expand Down

0 comments on commit 8408867

Please sign in to comment.