Skip to content

Commit 2e99fb7

Browse files
committed
Bump.
1 parent 22eec82 commit 2e99fb7

File tree

6 files changed

+9755
-7353
lines changed

6 files changed

+9755
-7353
lines changed

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"block-scoped-var": 2,
3030
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
3131
"camelcase": [2, { "properties": "always" }],
32-
"comma-dangle": [2, "never"],
32+
"comma-dangle": [0, "never"],
3333
"comma-spacing": [2, { "before": false, "after": true }],
3434
"comma-style": [2, "last"],
3535
"complexity": 0,
@@ -51,7 +51,7 @@
5151
"keyword-spacing": [2, {"before": true, "after": true}],
5252
"linebreak-style": 0,
5353
"max-depth": 0,
54-
"max-len": [2, 120, 4],
54+
"max-len": [0, 120, 4],
5555
"max-nested-callbacks": 0,
5656
"max-params": 0,
5757
"max-statements": 0,

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"react": "link:../node_modules/react",
1010
"react-dom": "link:../node_modules/react-dom",
1111
"react-middle-ellipsis": "link:..",
12-
"react-scripts": "^3.2.0"
12+
"react-scripts": "^4.0.3"
1313
},
1414
"scripts": {
1515
"start": "react-scripts start",

example/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState } from "react";
22
import MiddleEllipsis from "react-middle-ellipsis";
33

4-
const Component = props => {
4+
const Component = () => {
55
const longText =
66
"https://thisIsAVeryLongUrl/that/needs/to/be/truncated/in/the/middle/so/that/the/important/end/matter/is/preserved/here.html";
77
const [width, setWidth] = useState(1);

0 commit comments

Comments
 (0)