Sam Zhou
6e43c9bd34
chore(v2): Fix more eslint errors ( #2976 )
2020-06-21 15:09:00 +08:00
Sam Zhou
3611c96f90
chore(v2): Fix a lot of eslint warnings ( #2972 )
2020-06-20 12:30:18 +08:00
Sébastien Lorber
72884a0c1a
chore(v2): fix eslint TS setup ( #2949 )
...
* update eslint parser
* fix yarn lint script
* lint-staged, lint ts files
* fix TS eslint configuration + fix some lint errors (https://github.com/facebook/docusaurus/pull/2949 )
* eslint root + separate linting in 2 scripts
* test commit
* test commit
* test commit
* fix /// TS directive
2020-06-18 17:37:48 +08:00
Fanny
434da1d7ea
feat(v2): bootstrap bootstrap (heh) theme, preset, template ( #2557 )
...
* feat(v2): Add bootstrap theme structure
* chore(v2): run prettier
* chore(v2): remove unused dependencies
* feat(v2): add bootstrap preset
* feat(v2): add bootstrap template
* remove unnecessary stuff
* --
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-09 12:58:01 +08:00
Yangshun Tay
c50df3003c
misc: update stylelint rule tester
2020-03-21 15:22:25 +08:00
Rémi Doreau
b4f4057d97
misc: improve stylelint rule ( #2415 )
...
* feat(header-lint): allow for rule configuration
* test(stylelint-copyright): moove implementation to jest
* test(stylelint-copyright): add missing check
* test(jest-setup): add linter
2020-03-21 12:42:10 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Alexey Pyltsyn
894dbcff49
chore(eslint): require curly brackets on all blocks ( #2239 )
2020-01-24 13:28:56 +08:00
Yangshun Tay
e39d76c40c
chore(v2): turn off import/extensions ESLint rule
2019-12-22 11:34:44 +08:00
Yangshun Tay
b6315f4136
feat(v2): add Facebook Docusaurus 2 template ( #2124 )
...
* feat(v2): add Facebook Docusaurus 2 template
* -
2019-12-15 17:16:27 +08:00
Endi
3be2e86546
chore: bump dev dependencies ( #1955 )
...
* chore: bump devdeps
* upd infima url
2019-11-11 17:44:26 +07:00
Endi
64fb7a2d0c
chore(v2): tweak eslint config ( #1445 )
2019-05-09 20:01:48 +07:00
Yangshun Tay
96cb4672d5
feat(v2): implement ComponentCreator ( #1366 )
...
* v2(feat): convert blog to view-driven content queries
* feat(v2): port blog to use ContentRenderer
* misc(v2): fix test and change ContentRenderer url
* avoid chunkName collision
* avoid chunkname collision more
* fix(v2): fix content-renderer ssr problem (#1367 )
* wip
* avoid chunk names collision
* ContentRenderer is a wrapper for Loadable
* convert docs and pages
* nits and rename
* rename routeModules -> modules
* remove lodash from component creator
* resolve chunk not being picked up correctly
* add comment for explanation
* small refactoring
2019-04-16 22:18:29 +08:00
Yangshun Tay
1edbeecbe5
chore(v2): add ESLint rule to check for Facebook copyright headers in JS files ( #1301 )
2019-03-24 14:50:26 +07:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo ( #1297 )
...
* chore: move to monorepo
* lint all js file
* simplify circleCI
* fix failing tests
* fix tests due to folder rename
* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
Yangshun Tay
f2927a9fc4
Move Docusaurus 1 files into directory ( #966 )
...
* Move Docusaurus 1 into v1 directory
* Update Circle CI commands for new v1 dir
* Remove OC
* Fix tests
2018-09-18 00:58:07 +08:00
Yangshun Tay
a7a214fb3a
ESLintify Part 3 ( #846 )
...
* ESLintify Part 3
* ESLintify Part 3
* ESLintify Part 3
2018-07-11 18:21:31 +08:00
Yangshun Tay
5ac2cee658
ESLintify Part 2 ( #841 )
...
* ESLintify Part 2
* Fix
* Fix tests
* Fix tests
* Fix tests
2018-07-10 21:53:08 -07:00
Yangshun Tay
e8e3f42685
ESLintify Part 1 ( #837 )
...
* ESLint-ify
* Allow empty try/catch
* Escape regexp
2018-07-08 09:13:18 -07:00
Yangshun Tay
128dbfca0a
Tidy up ESLint usage ( #836 )
...
* Use Airbnb ESLint
* Turn off rules
* Add back
* add website to eslint precommit
* Add back
* remove useless escape
2018-07-07 15:25:14 +07:00
Endilie Yacop Sucipto
21dcea2a31
Integrate eslint & precommit to codebase ( #815 )
...
* add eslint, precommit & refactor
* fix exit code 127
* modify contributing.md & add package-lock
* use .eslintrc.js
2018-07-01 12:27:31 +08:00