Skip to content

Commit 78df102

Browse files
author
unknown
committed
4.24.0
1 parent 9eadfa7 commit 78df102

File tree

268 files changed

+13097
-10065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+13097
-10065
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/*.js
22
node_modules
3+
dist/

.eslintrc.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"extends": ["react-app", "plugin:jsx-a11y/recommended", "prettier", "prettier/react"],
3+
"plugins": ["jsx-a11y", "prettier"],
4+
"parser": "@typescript-eslint/parser",
5+
"settings": {
6+
"import/resolver": "webpack"
7+
},
8+
"rules": {
9+
"quotes": [
10+
2,
11+
"single",
12+
{
13+
"avoidEscape": true
14+
}
15+
],
16+
"import/no-unresolved": [
17+
2,
18+
{
19+
"caseSensitive": false
20+
}
21+
],
22+
"jsx-quotes": ["error", "prefer-single"],
23+
"jsx-a11y/label-has-for": "off",
24+
"jsx-a11y/no-static-element-interactions": "off",
25+
"jsx-a11y/click-events-have-key-events": "off",
26+
"jsx-a11y/label-has-associated-control": "off",
27+
"jsx-a11y/no-autofocus": "off",
28+
"jsx-a11y/media-has-caption": "off",
29+
"jsx-a11y/no-noninteractive-element-interactions": "off",
30+
"jsx-a11y/no-onchange": "off",
31+
"react/jsx-filename-extension": [
32+
1,
33+
{
34+
"extensions": [".js", ".jsx", ".d.ts"]
35+
}
36+
],
37+
"react/destructuring-assignment": [
38+
"error",
39+
"always",
40+
{
41+
"ignoreClassFields": true
42+
}
43+
],
44+
"react/state-in-constructor": ["error", "never"],
45+
"react/require-default-props": [
46+
0,
47+
{
48+
"forbidDefaultForRequired": true
49+
}
50+
],
51+
"react/sort-prop-types": [
52+
1,
53+
{
54+
"callbacksLast": false,
55+
"ignoreCase": true,
56+
"requiredFirst": true,
57+
"sortShapeProp": true,
58+
"noSortAlphabetically": false
59+
}
60+
],
61+
"react/jsx-props-no-spreading": [
62+
0,
63+
{
64+
"html": true,
65+
"custom": true
66+
}
67+
],
68+
"react/self-closing-comp": [
69+
"error",
70+
{
71+
"component": true,
72+
"html": false
73+
}
74+
],
75+
"curly": "warn"
76+
}
77+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ yarn.lock
2727
*.tgz
2828

2929
.history
30+
31+
32+
//lint-staged

.huskyrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": ""
4+
}
5+
}

.lintstagedrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"*.+(js|jsx|ts)": ["eslint --fix", "git add", "jest --bail --findRelatedTests --coverage"],
3+
"*.+(js|jsx|json|css|md)": ["prettier --write", "git add"]
4+
}

.prettierrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
"singleQuote": true,
3-
"jsxSingleQuote": true
3+
"jsxSingleQuote": true,
4+
"prettier.requirePragma": true,
5+
"prettier.trailingComma": "all",
6+
"prettier.disableLanguages": ["html"]
47
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ All fully responsive. All compatible with different browsers.
5959

6060
# Version:
6161

62-
- MDBReact 4.23.1
63-
- React 16.9.0
62+
- MDBReact 4.24.0
63+
- React 16.12.0
6464

6565
# Quick start
6666

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Material Design for Bootstrap
22

3-
Version: MDB React 4.23.1
3+
Version: MDB React 4.24.0
44

55
Documentation:
66
https://mdbootstrap.com/docs/react/

0 commit comments

Comments
 (0)