diff --git a/.eslintrc.js b/.eslintrc.js
index d3ab27f..52e8075 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -9,9 +9,12 @@ module.exports = {
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
// Prettier
+ "react-app",
+ "plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"prettier",
],
+ plugins: ["jsx-a11y", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: {
diff --git a/package.json b/package.json
index b52ef33..9c7bfcb 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
"@rollup/plugin-node-resolve": "13.0.6",
"@types/fs-extra": "9.0.13",
"@types/inquirer": "8.1.3",
- "@types/jest": "27.0.2",
+ "@types/jest": "^27.0.2",
"@types/lodash.camelcase": "4.3.6",
"@types/node": "16.11.7",
"@types/prettier": "2.4.2",
@@ -64,10 +64,17 @@
"chalk": "4.1.2",
"commitlint": "14.1.0",
"cross-env": "7.0.3",
- "eslint": "8.2.0",
+ "eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
+ "eslint-config-react-app": "^6.0.0",
+ "eslint-plugin-flowtype": "^8.0.3",
+ "eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "25.2.4",
+ "eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "4.0.0",
+ "eslint-plugin-react": "^7.27.0",
+ "eslint-plugin-react-hooks": "^4.3.0",
+ "eslint-plugin-testing-library": "^5.0.0",
"fs-extra": "10.0.0",
"husky": "7.0.4",
"inquirer": "8.2.0",
@@ -89,7 +96,7 @@
"ts-node": "10.4.0",
"tslib": "2.3.1",
"typedoc": "0.22.9",
- "typescript": "4.4.4"
+ "typescript": "^4.5.2"
},
"engines": {
"node": ">=10.17.0"
@@ -111,4 +118,4 @@
"last 2 iOS versions",
"last 2 ChromeAndroid versions"
]
-}
\ No newline at end of file
+}
diff --git a/packages/bun/package.json b/packages/bun/package.json
index 766a1d9..4698be1 100644
--- a/packages/bun/package.json
+++ b/packages/bun/package.json
@@ -40,12 +40,6 @@
"test": "craco test",
"eject": "react-scripts eject"
},
- "eslintConfig": {
- "extends": [
- "react-app",
- "react-app/jest"
- ]
- },
"browserslist": {
"production": [
">0.2%",
diff --git a/packages/bun/src/App.test.tsx b/packages/bun/src/App.test.tsx
index 2a68616..d76787e 100644
--- a/packages/bun/src/App.test.tsx
+++ b/packages/bun/src/App.test.tsx
@@ -1,8 +1,8 @@
-import React from 'react';
-import { render, screen } from '@testing-library/react';
-import App from './App';
+import React from "react";
+import { render, screen } from "@testing-library/react";
+import App from "./App";
-test('renders learn react link', () => {
+test("renders learn react link", () => {
render(
Edit src/App.tsx
and save to reload.