Skip to content

Commit bb08939

Browse files
committed
Updates of linters
1 parent f5a089b commit bb08939

File tree

3 files changed

+1548
-404
lines changed

3 files changed

+1548
-404
lines changed

CHANGELOG.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
# Topcoder React Utils Changelog
22

33
### v0.6.0
4-
A better way to build the library: both dev and prod builds are created; and
5-
the proper version is selected depending on `NODE_ENV` value at the buildtime
6-
(client-side) or runtime (server-side) of the host code.
7-
8-
**BREAKING CHANGE:** You should update the way you include style the global
9-
stylesheet into the host code, from:
10-
```jsx
11-
require('topcoder-react-utils/dist/style.css');
12-
```
13-
to
14-
```jsx
15-
/* eslint-disable global-require */
16-
if (process.env.NODE_ENV === 'production') {
17-
require('topcoder-react-utils/dist/prod/style.css');
18-
} else {
19-
require('topcoder-react-utils/dist/dev/style.css');
20-
}
21-
/* eslint-enable global-require */
22-
```
23-
This will include the proper version of compiled global styles into the host
24-
code.
4+
- A better way to build the library: both dev and prod builds are created; and
5+
the proper version is selected depending on `NODE_ENV` value at the buildtime
6+
(client-side) or runtime (server-side) of the host code.
7+
8+
**BREAKING CHANGE:** You should update the way you include style the global
9+
stylesheet into the host code, from:
10+
```jsx
11+
require('topcoder-react-utils/dist/style.css');
12+
```
13+
to
14+
```jsx
15+
/* eslint-disable global-require */
16+
if (process.env.NODE_ENV === 'production') {
17+
require('topcoder-react-utils/dist/prod/style.css');
18+
} else {
19+
require('topcoder-react-utils/dist/dev/style.css');
20+
}
21+
/* eslint-enable global-require */
22+
```
23+
This will include the proper version of compiled global styles into the host
24+
code.
25+
26+
- Also most of NPM dependencies updated to their latest versions, which might
27+
demand some fixes in your code.
2528

2629
### v0.5.0
2730
All dependencies are force-updated to their latest versions. It might introduce

0 commit comments

Comments
 (0)