Permalink
Please sign in to comment.
Browse files
Fix some lint errors in website
Summary:Fixes most errors and some warnings, especially the autofix ones. - copyright headers - no unicode in source files - `.indexOf('javascript:')` is legit; suppress the eslint error - trailing commas, semicolons bypass-lint Reviewed By: hellendag Differential Revision: D2981752 fb-gh-sync-id: 5ceb842c215c5787aa2c981a1eae3254f19ef687 shipit-source-id: 5ceb842c215c5787aa2c981a1eae3254f19ef687
- Loading branch information...
Showing
with
225 additions
and 160 deletions.
- +9 −1 .eslintrc.js
- +2 −2 examples/tex/js/data/content.js
- +6 −6 examples/tex/server.js
- +9 −9 gulpfile.js
- +9 −0 scripts/babel/default-options.js
- +9 −0 scripts/jest/preprocessor.js
- +12 −4 website/core/DocsSidebar.js
- +9 −2 website/core/H2.js
- +14 −8 website/core/Header.js
- +10 −1 website/core/HeaderLinks.js
- +44 −70 website/core/Marked.js
- +49 −48 website/core/Prism.js
- +9 −2 website/core/Site.js
- +8 −1 website/core/center.js
- +7 −0 website/core/unindent.js
- +8 −1 website/layout/DocsLayout.js
- +3 −1 website/layout/PageLayout.js
- +1 −1 website/server/generate.js
- +4 −2 website/server/server.js
- +3 −1 website/src/draft-js/index.js
10
.eslintrc.js
4
examples/tex/js/data/content.js
12
examples/tex/server.js
18
gulpfile.js
9
scripts/babel/default-options.js
9
scripts/jest/preprocessor.js
16
website/core/DocsSidebar.js
11
website/core/H2.js
22
website/core/Header.js
11
website/core/HeaderLinks.js
114
website/core/Marked.js
97
website/core/Prism.js
11
website/core/Site.js
9
website/core/center.js
7
website/core/unindent.js
9
website/layout/DocsLayout.js
4
website/layout/PageLayout.js
2
website/server/generate.js
6
website/server/server.js
4
website/src/draft-js/index.js
0 comments on commit
bb8a143