refactor: rename folders

This commit is contained in:
Anthony Fu
2023-03-24 10:01:44 +01:00
parent ab850b0ae4
commit 4ef978a092
12 changed files with 56 additions and 82 deletions

View File

@@ -0,0 +1,19 @@
module.exports = {
extends: [
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'@antfu/eslint-config-ts',
],
settings: {
react: {
version: '17.0',
},
},
rules: {
'jsx-quotes': [
'error',
'prefer-double',
],
'react/react-in-jsx-scope': 'off',
},
}

View File

@@ -0,0 +1,31 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.37.0",
"description": "",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"keywords": [
"eslint-config"
],
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"lint": "eslint . --config=index.js"
},
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": {
"@antfu/eslint-config-ts": "workspace:*",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0"
},
"devDependencies": {
"eslint": "^8.36.0",
"react": "^18.2.0",
"typescript": "^5.0.2"
}
}