Skip to content

Commit

Permalink
Initial commit of shared eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenyi Chen committed Jul 20, 2021
0 parents commit 6f0e42c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
extends: [
'airbnb-typescript',
'airbnb/hooks',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
};
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "eslint-tinystacks-config",
"version": "0.1.0",
"private": true,
"scripts": {
"lint": "eslint ."
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/eslint-parser": "^7.12.13",
"@wordpress/eslint-plugin": "^4.0.0",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsdoc": "^31.2.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4 || ^3 || ^2.3.0 || ^1.7.0",
"prettier": "^2.2.1"
}
}

0 comments on commit 6f0e42c

Please sign in to comment.