feat: add rules for react code (!4)

Reviewed-on: https://codeberg.org/nhcarrigan/eslint-config/pulls/4
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
2024-09-26 02:39:45 +00:00
committed by Naomi the Technomancer
parent 96935e12b4
commit 2a97017582
5 changed files with 892 additions and 1 deletions
+5 -1
View File
@@ -42,13 +42,17 @@
"eslint-plugin-jsdoc": "48.8.3",
"eslint-plugin-playwright": "1.6.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.36.1",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-unicorn": "55.0.0",
"globals": "15.8.0"
},
"peerDependencies": {
"eslint": ">=9",
"typescript": ">=5"
"typescript": ">=5",
"react": ">=18",
"vitest": ">=2",
"playwright": ">=1"
},
"devDependencies": {
"@nhcarrigan/prettier-config": "3.2.0",