Skip to content

Commit 5a224a7

Browse files
committed
Run eslint fix
1 parent eda2756 commit 5a224a7

24 files changed

+380
-543
lines changed

Diff for: .eslintrc.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
"ecmaVersion": 12,
2323
"sourceType": "module"
2424
},
25-
"plugins": [
26-
"react",
27-
"@typescript-eslint",
28-
"jsx-a11y"
29-
],
25+
"plugins": ["react", "@typescript-eslint", "jsx-a11y"],
3026
"rules": {
3127
"no-unused-vars": "off",
3228
"@typescript-eslint/no-unused-vars": "error"
@@ -36,4 +32,4 @@
3632
"version": "detect"
3733
}
3834
}
39-
}
35+
}

Diff for: babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve('@docusaurus/core/lib/babel/preset')]
33
};

Diff for: docs/clients/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Client configuration"
3-
}
3+
}

Diff for: docs/configuration/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Server configuration"
3-
}
3+
}

Diff for: docs/media/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Organizing your media"
3-
}
3+
}

Diff for: docs/plugins/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Plugins"
3-
}
3+
}

Diff for: docs/reverse-proxy/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Using with a reverse proxy"
3-
}
3+
}

Diff for: docs/server/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Server administration"
3-
}
3+
}

Diff for: docs/server/users/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Users"
3-
}
3+
}

Diff for: docs/tips-and-tricks/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"label": "Tips & tricks"
3-
}
3+
}

Diff for: docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = {
8787
{
8888
label: 'Contact',
8989
to: '/contact'
90-
},
90+
}
9191
],
9292
copyright: `Site content is licensed <a href='http://creativecommons.org/licenses/by-nd/4.0/'>CC-BY-ND-4.0</a>`
9393
}

Diff for: sidebars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
module.exports = {
1313
// By default, Docusaurus generates a sidebar from the docs folder structure
14-
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
14+
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }]
1515

1616
// But you can create a sidebar manually
1717
/*

Diff for: src/components/BuiltByVolunteers.tsx

+11-15
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,28 @@ export default function BuiltByVolunteers() {
88
const contributors = 1000;
99

1010
return (
11-
<section className="landing-section padding-vert--xl">
12-
<div className="container">
13-
<div className="row">
14-
<div className="col col--6 padding--lg">
15-
<div className="display--flex flex-direction--column align-items--center margin-bottom--md">
11+
<section className='landing-section padding-vert--xl'>
12+
<div className='container'>
13+
<div className='row'>
14+
<div className='col col--6 padding--lg'>
15+
<div className='display--flex flex-direction--column align-items--center margin-bottom--md'>
1616
<h1>{members}</h1>
1717
<h2>Members</h2>
1818
</div>
19-
<div className="display--flex flex-direction--column align-items--center">
19+
<div className='display--flex flex-direction--column align-items--center'>
2020
<h1>{contributors}+</h1>
2121
<h2>Contributors</h2>
2222
</div>
2323
</div>
24-
<div className="col col--6">
24+
<div className='col col--6'>
2525
<Svg className={styles.logo} />
2626
<h1>Built by volunteers, community-driven</h1>
27-
<div className="margin-bottom--sm">
28-
<b>
29-
Jellyfin is entirely funded through donations and built by its
30-
users.
31-
</b>
27+
<div className='margin-bottom--sm'>
28+
<b>Jellyfin is entirely funded through donations and built by its users.</b>
3229
</div>
3330
<div>
34-
We rely entirely on contributions from volunteers. There is no
35-
corporation steering the ship. Everything is done by users, for
36-
users.
31+
We rely entirely on contributions from volunteers. There is no corporation steering the ship. Everything
32+
is done by users, for users.
3733
</div>
3834
</div>
3935
</div>

Diff for: src/components/CallToAction.tsx

+5-11
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,11 @@ import styles from './CallToAction.modules.css';
44
export default function CallToAction() {
55
return (
66
<div className={styles.cta}>
7-
<div className="container">
8-
<div className="cta-inner">
9-
<h2 className="cta-title">Get Started Now</h2>
10-
<p className="cta-sub">
11-
Check out our Getting Started guide to download and set up your
12-
server today.
13-
</p>
14-
<a
15-
href="/downloads"
16-
className="button button--primary button--lg margin-top--lg"
17-
>
7+
<div className='container'>
8+
<div className='cta-inner'>
9+
<h2 className='cta-title'>Get Started Now</h2>
10+
<p className='cta-sub'>Check out our Getting Started guide to download and set up your server today.</p>
11+
<a href='/downloads' className='button button--primary button--lg margin-top--lg'>
1812
Download Jellyfin
1913
</a>
2014
</div>

0 commit comments

Comments
 (0)