Skip to content

Commit 719f497

Browse files
author
Marek Rozmus
committed
Update dependencies and fix formatting
1 parent 0ba7ddd commit 719f497

12 files changed

+12966
-5447
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
coverage

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
},
2020
"ignorePatterns": ["module.d.ts"],
2121
"rules": {
22+
"no-undef": "error",
2223
"react-hooks/rules-of-hooks": "error",
2324
"react-hooks/exhaustive-deps": "error",
2425
"react/jsx-sort-props": [

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.eslintcache
23
.stylelintcache
34
node_modules/
45
dist

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const presets = [
2020

2121
const plugins = ['@babel/plugin-proposal-class-properties'];
2222

23-
module.exports = function(api) {
23+
module.exports = function (api) {
2424
const isTest = api.env('test');
2525

2626
if (isTest) {

examples/.eslintrc

-26
This file was deleted.

examples/images/icons.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@ import React from 'react';
22

33
const Svg = props => (
44
<svg
5-
xmlns="http://www.w3.org/2000/svg"
6-
width="100%"
75
height="100%"
86
viewBox="0 0 24 24"
7+
width="100%"
8+
xmlns="http://www.w3.org/2000/svg"
99
{...props}
1010
/>
1111
);
1212

1313
export const DeleteIcon = () => (
1414
<Svg>
15-
<path fill="none" d="M0 0h24v24H0V0z" />
15+
<path d="M0 0h24v24H0V0z" fill="none" />
1616
<path d="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" />
1717
</Svg>
1818
);
1919

2020
export const MailIcon = () => (
2121
<Svg>
22-
<path fill="none" d="M0 0h24v24H0V0z" />
22+
<path d="M0 0h24v24H0V0z" fill="none" />
2323
<path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 4.99L4 6h16zm0 12H4V8l8 5 8-5v10z" />
2424
</Svg>
2525
);
2626

2727
export const ReplyIcon = () => (
2828
<Svg>
29-
<path fill="none" d="M0 0h24v24H0V0z" />
29+
<path d="M0 0h24v24H0V0z" fill="none" />
3030
<path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z" />
3131
</Svg>
3232
);

0 commit comments

Comments
 (0)