Skip to content

Commit 6f0e42c

Browse files
author
Wenyi Chen
committed
Initial commit of shared eslint config
0 parents  commit 6f0e42c

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
extends: [
3+
'airbnb-typescript',
4+
'airbnb/hooks',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
7+
],
8+
};

package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "eslint-tinystacks-config",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"lint": "eslint ."
7+
},
8+
"devDependencies": {
9+
"@babel/core": "^7.2.0",
10+
"@babel/eslint-parser": "^7.12.13",
11+
"@wordpress/eslint-plugin": "^4.0.0",
12+
"eslint": "^7.2.0",
13+
"eslint-config-airbnb": "^18.2.1",
14+
"eslint-config-airbnb-base": "^14.2.1",
15+
"eslint-config-prettier": "^7.1.0",
16+
"eslint-plugin-import": "^2.22.1",
17+
"eslint-plugin-jest": "^24.1.3",
18+
"eslint-plugin-jsdoc": "^31.2.0",
19+
"eslint-plugin-jsx-a11y": "^6.4.1",
20+
"eslint-plugin-prettier": "^3.3.1",
21+
"eslint-plugin-react": "^7.22.0",
22+
"eslint-plugin-react-hooks": "^4 || ^3 || ^2.3.0 || ^1.7.0",
23+
"prettier": "^2.2.1"
24+
}
25+
}

0 commit comments

Comments
 (0)