Skip to content

Commit

Permalink
remove eslint from @fullcalendar/react for now b/c of annoying hoisti…
Browse files Browse the repository at this point in the history
…ng errors. explicit typeRoots
  • Loading branch information
arshaw committed Jun 4, 2024
1 parent 22c67ea commit 6ed8b46
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 90 deletions.
49 changes: 0 additions & 49 deletions contrib/react/.eslintrc.cjs

This file was deleted.

8 changes: 1 addition & 7 deletions contrib/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@
"@testing-library/react": "^13.4.0",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"babel-eslint": "^10.1.0",
"concurrently": "^5.3.0",
"eslint": "^8.25.0",
"eslint-plugin-react": "^7.31.10",
"karma": "^6.3.2",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^4.0.1",
Expand All @@ -59,13 +54,12 @@
"typescript": "^4.0.5"
},
"scripts": {
"lint": "eslint .",
"build": "pnpm run tsc && pnpm run rollup",
"dev": "pnpm run tsc && concurrently 'npm:tsc:dev' 'npm:rollup:dev'",
"test": "karma start karma.config.cjs --browsers ChromeHeadless --single-run --no-auto-watch",
"test:dev": "karma start karma.config.cjs",
"clean": "rm -rf dist tests/dist",
"ci": "pnpm run clean && pnpm run lint && pnpm run build && pnpm run test",
"ci": "pnpm run clean && pnpm run build && pnpm run test",
"tsc": "tsc -p .",
"tsc:dev": "tsc -p . --watch --preserveWatchOutput --pretty",
"rollup": "rollup -c",
Expand Down
1 change: 0 additions & 1 deletion contrib/react/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import React, { Component, createRef, PureComponent } from 'react'
import { createPortal, flushSync } from 'react-dom'
import {
Expand Down
3 changes: 2 additions & 1 deletion contrib/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"compilerOptions": {
"jsx": "react",
"target": "es2015",
"module": "es2015",
"module": "node16",
"moduleResolution": "node16",
"typeRoots": [],
"lib": [
"dom",
"es2015"
Expand Down
32 changes: 0 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ed8b46

Please sign in to comment.