Skip to content

Commit

Permalink
Remove prop-types dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhosseindhv committed Mar 8, 2020
1 parent f966409 commit 9cd9eaa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
14 changes: 1 addition & 13 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,5 @@
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
],
"ignore": ["src/index.d.ts"],
"env": {
"production": {
"plugins": [
[
"babel-plugin-transform-react-remove-prop-types",
{
"mode": "unsafe-wrap"
}
]
]
}
}
"ignore": ["src/index.d.ts"]
}
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"import/extensions": 0,
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/jsx-closing-bracket-location": 0,
"react/sort-comp": 0,
"react/require-default-props": 0,
Expand Down
14 changes: 6 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"babel-eslint": "^8.2.6",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-runtime": "^6.26.0",
"eslint": "^6.1.0",
"eslint-config-airbnb": "~16.1.0",
Expand All @@ -59,7 +58,6 @@
"dependencies": {
"classnames": "^2.2.6",
"hoist-non-react-statics": "^3.3.0",
"prop-types": "^15.7.2",
"react-is": "^16.8.6"
},
"bugs": {
Expand Down

0 comments on commit 9cd9eaa

Please sign in to comment.