feat: add react and all
This commit is contained in:
12
packages/react/index.js
Normal file
12
packages/react/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
"plugin:react/recommended",
|
||||
'@antfu/eslint-config-ts',
|
||||
],
|
||||
"rules": {
|
||||
"jsx-quotes": [
|
||||
"error",
|
||||
"prefer-double"
|
||||
]
|
||||
}
|
||||
}
|
29
packages/react/package.json
Normal file
29
packages/react/package.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.2.14",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"lint": "eslint . --config=index.js"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"eslint": ">=7.4.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "workspace:*",
|
||||
"eslint-plugin-react": "^7.20.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.6.0",
|
||||
"typescript": "^3.9.7"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user