Skip to content

Commit 0453b93

Browse files
committed
⬆️ switch to eslint-plugin-react
1 parent b48a62e commit 0453b93

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

eslint-config-react/base.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
extends:
2-
- 'plugin:@shopify/node'
3-
4-
rules:
5-
no-console: 'error'
6-
radix: 'off'
7-
node/exports-style: 'warn'
2+
- '@dudeofawesome/browser'
3+
- 'plugin:react/recommended'

eslint-config-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"license": "MIT",
1818
"main": "base.yaml",
1919
"scripts": {
20-
"test": "echo 'No tests'; exit 0"
20+
"test": "node --require ts-node/register --test test/index.ts"
2121
},
2222
"dependencies": {
23-
"@shopify/eslint-plugin": "^43.0.0"
23+
"eslint-plugin-react": "^7.33.2"
2424
},
2525
"peerDependencies": {
2626
"@dudeofawesome/eslint-config": "^1.3.0",

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)