Skip to content

Commit 46fd2e2

Browse files
author
Lucas
committed
init
1 parent 4dbd5d5 commit 46fd2e2

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

packages/react-pack/eslint/base.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module.exports = {
4444
'no-nested-ternary': 0,
4545
'no-param-reassign': 0,
4646
'no-plusplus': [2, { allowForLoopAfterthoughts: true }],
47+
'no-template-curly-in-string': 0, // for yup interpolation
4748
'no-undef': 0,
4849
'no-underscore-dangle': 0,
4950
'no-use-before-define': 0,
@@ -56,6 +57,7 @@ module.exports = {
5657
],
5758
'react/jsx-one-expression-per-line': 0,
5859
'react/jsx-props-no-spreading': 0,
60+
'react/require-default-props': 0,
5961

6062
'@typescript-eslint/explicit-module-boundary-types': 0,
6163
'@typescript-eslint/no-explicit-any': 0,

packages/react-pack/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtree/react-pack",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Simple tools and ESLint, Prettier configuration for React, Next.js development",
55
"files": [
66
"compiled",
@@ -25,19 +25,19 @@
2525
"author": "Lucas Choi <eterv7@gmail.com>",
2626
"license": "MIT",
2727
"dependencies": {
28-
"@typescript-eslint/eslint-plugin": "^4.8.1",
29-
"@typescript-eslint/parser": "^4.8.1",
30-
"eslint": "^7.13.0",
28+
"@typescript-eslint/eslint-plugin": "^4.9.1",
29+
"@typescript-eslint/parser": "^4.9.1",
30+
"eslint": "^7.15.0",
3131
"eslint-config-airbnb-base": "^14.2.1",
32-
"eslint-config-prettier": "^6.15.0",
32+
"eslint-config-prettier": "^7.0.0",
3333
"eslint-import-resolver-typescript": "^2.3.0",
3434
"eslint-plugin-import": "^2.22.1",
3535
"eslint-plugin-jsx-a11y": "^6.4.1",
36-
"eslint-plugin-prettier": "^3.1.4",
36+
"eslint-plugin-prettier": "^3.2.0",
3737
"eslint-plugin-react": "^7.21.5",
3838
"eslint-plugin-react-hooks": "^4.2.0",
39-
"prettier": "^2.1.2",
40-
"typescript": "^4.0.5"
39+
"prettier": "^2.2.1",
40+
"typescript": "^4.1.2"
4141
},
4242
"eslintConfig": {
4343
"extends": [

0 commit comments

Comments
 (0)