fisker Cheung
cd2b8a32b5
Revert #7392 ( #8645 )
2020-06-30 20:00:33 +08:00
fisker Cheung
1e0b77b802
Replace VS Code icon ( #8656 )
2020-06-30 08:13:21 +08:00
fisker Cheung
9a89abc602
Temporary fix for prettier lint script ( #8651 )
2020-06-29 09:44:03 +08:00
fisker Cheung
0c2b918078
ESLint: enable import/order ( #8635 )
2020-06-26 20:30:21 +08:00
fisker Cheung
407aff482b
Update lock-threads ( #8629 )
2020-06-25 21:48:27 +08:00
fisker Cheung
e8be12a6eb
Build: Auto set parsers as external ( #8639 )
...
* Auto set parsers as external
* Update bundler.js
2020-06-25 00:01:17 +03:00
fisker Cheung
9e8df9d922
Fix resolve EditorConfig for files in deep directory ( #8591 )
...
* Fix resolve editorConfig for files in deep directory
* Add changelog, remove `find-project-root`
* Simplify
* Use `existsSync` instead of `readdirSync`
2020-06-24 23:58:02 +03:00
fisker Cheung
63a37a2a1d
Treat <option> and <optgroup> as block ( #8620 )
2020-06-24 18:33:13 +08:00
fisker Cheung
4dd750b727
Use html-void-elements for more completed list ( #8627 )
2020-06-23 14:58:49 +03:00
fisker Cheung
b9ea67f32a
Fix: resolving to incorrect config in getFileInfo() ( #8585 )
2020-06-19 22:28:27 +08:00
fisker
37ee440092
Simplify #8600
2020-06-19 15:38:57 +08:00
fisker
1f12b2dc2b
Fix #8600
2020-06-19 15:25:47 +08:00
fisker Cheung
3ac8e4a4dc
Add bundle size check for dependabot ( #8600 )
2020-06-19 14:43:02 +08:00
fisker Cheung
a4e5f2053d
Fix cli --file-info bug ( #8586 )
...
* Fix cli `--file-info` bug
* Add changelog
* Update pr-8586.md
2020-06-18 18:18:19 +03:00
fisker Cheung
8a4d9a242b
Switch json-stable-stringify to fast-json-stable-stringify ( #8590 )
2020-06-18 18:15:06 +03:00
fisker Cheung
eb6ff31c26
Docs: Update resolveConfigFile usage example ( #6873 )
2020-06-18 20:09:10 +08:00
fisker Cheung
dc185c8f43
Remove codecov from package.json ( #8583 )
2020-06-17 16:11:50 +03:00
fisker Cheung
8999cc7811
Format Vue SFC root blocks ( #8465 )
2020-06-17 19:18:29 +08:00
fisker Cheung
fbf0beb716
Fix inferredParser when calling getFileInfo() with resolveConfig: true ( #8551 )
2020-06-17 18:47:56 +08:00
fisker Cheung
e54d4fc01a
Do not inferParser for ignored files ( #8548 )
2020-06-17 13:49:52 +08:00
fisker Cheung
89698e825b
Migrate to native dependabot ( #8543 )
2020-06-17 10:50:33 +08:00
fisker Cheung
34d847c1cc
Remove extra line after directive with comment ( #8536 )
2020-06-11 08:45:44 +08:00
fisker Cheung
f55960af89
Support dynamic import ( #8530 )
...
* Support `ImportExpression`
* Fix print
2020-06-09 19:01:27 +03:00
fisker Cheung
3e44061f84
SCSS: Fix broken comments between declaration prop and value ( #8366 )
2020-06-09 18:41:16 +03:00
fisker Cheung
db05f0f36f
Add tests for issue 6678 ( #8513 )
2020-06-08 16:17:04 +03:00
fisker Cheung
3dbec5a9cd
Minor refactor doc-utils ( #8499 )
...
* Minor refactor `doc-utils`
* Fix comment
* Restore `shouldRecurse`
* Revert "Restore `shouldRecurse`"
This reverts commit 699628166dab8c450ccb3a43b05bfbce1674c49b.
* Restore the mark
2020-06-05 16:21:23 +03:00
fisker Cheung and jasonxia23
8dcd2d5020
Add tests from pr-5692 ( #8482 )
...
Co-authored-by: jasonxia23<xia.jason23@gmail.com >
2020-06-03 11:04:26 +08:00
fisker Cheung
2b68f981fd
Babel: support record and tuple syntax ( #8453 )
2020-06-03 09:35:13 +08:00
fisker Cheung
7d2e57c67f
Babel: support moduleAttributes ( #8436 )
2020-06-02 20:31:33 +08:00
fisker Cheung
3aa456c95f
Refactor: simplify import/export print ( #8437 )
2020-05-29 19:37:17 +08:00
fisker Cheung
e143e58545
JS: clean up babel plugins ( #8435 )
2020-05-29 09:26:52 +08:00
fisker Cheung
413f1a5db5
Test: extract code to utils ( #8433 )
2020-05-28 09:29:21 +08:00
fisker Cheung
12d379d29d
Test: visualize the range ( #8420 )
2020-05-28 01:16:52 +08:00
fisker Cheung
507c3403e3
Add some tests for sharedUtil ( #8412 )
2020-05-26 17:11:43 +03:00
fisker Cheung
408bbd4cbb
Fix empty files with shebang ( #8414 )
2020-05-26 16:58:00 +03:00
fisker Cheung
786eb2afb3
Build: Fix @rollup/plugin-commonjs warning ( #8406 )
...
* Fix `@rollup/plugin-commonjs` warning
* Fix comment
2020-05-26 16:18:59 +08:00
fisker Cheung
44bae94647
Support dynamic languages in front matter ( #8381 )
2020-05-26 16:18:39 +08:00
fisker Cheung
555df90c55
Update yaml-unist-parser to v1.2.1 ( #8386 )
2020-05-25 18:28:49 +08:00
fisker Cheung
3606c2e192
Support babel data-type="module" ( #8394 )
...
* Support babel `data-type="module"`
* Update changelog
2020-05-25 12:48:31 +03:00
fisker Cheung
82a319898d
Flow: fix function type param ( #8365 )
2020-05-25 16:47:04 +08:00
fisker Cheung
d048aa30a5
Bump issue template runtime versions ( #8396 )
2020-05-25 16:39:25 +08:00
fisker Cheung
4b95c408ae
Add test for #6988 ( #8391 )
...
* Add test for #6988
* Move files
2020-05-24 17:27:25 +03:00
fisker Cheung
f2c1d70918
JS: pragma support files with shebang ( #8376 )
2020-05-23 19:28:05 +08:00
fisker Cheung
a3cdb7dcfe
Playground: Redirect babylon parser to babel ( #8382 )
2020-05-22 19:14:10 +08:00
fisker Cheung
efea54bbbf
Add test for #6445 ( #8379 )
2020-05-22 01:45:11 +08:00
fisker Cheung
ea84392af2
YAML: Preserve blank lines in comments ( #8356 )
...
* YAML: Fix ugly comments
* Add changelog
* Use common utils
2020-05-21 19:24:51 +03:00
fisker Cheung
243a06f073
Test: correct file extensions ( #8362 )
2020-05-21 21:10:00 +08:00
fisker Cheung
8ebda75fec
Fix unstable yaml print ( #8355 )
2020-05-21 19:04:06 +08:00
fisker Cheung
6d49e3b3c1
Revert #7381 ( #8359 )
2020-05-21 12:25:01 +08:00
fisker Cheung
b438ad47d1
Less: Fix inline comments contains /* ( #8360 )
2020-05-20 22:26:30 +08:00
fisker Cheung
7c8dc8988f
Release script: Update dependents count on release ( #8315 )
2020-05-20 17:51:08 +08:00
fisker Cheung
765e3b4025
Fix invalid test ( #8350 )
2020-05-19 21:18:36 +08:00
fisker Cheung
d47a225d06
Test: "Expected" and "Received" are mixed up in ast compare ( #8305 )
2020-05-14 19:29:32 +03:00
fisker Cheung
76b4970c2e
Update ESLint related dependencies ( #8299 )
2020-05-14 10:51:11 +08:00
fisker Cheung
2c8b419837
Test: Fix parsers ( #8278 )
2020-05-12 19:21:47 +08:00
fisker Cheung
0c9754f2f7
Remove duplicated outdent ( #8291 )
2020-05-12 11:39:51 +03:00
fisker Cheung
23567c4e43
Switch rollup-plugin-babel to @rollup/plugin-babel ( #8282 )
...
* Switch `rollup-plugin-babel` to `@rollup/plugin-babel`
* Add `babelHelpers: "bundled"`
* Update cache version
* Remove `babelHelpers` for webpack
* Move `babelHelpers` to rollup only
2020-05-11 21:27:54 +03:00
fisker Cheung
cde4a0af9d
Fix broken format with upper case HTML tag ( #8280 )
...
* Fix broken format with upper case HTML tag
* Add changelog
2020-05-11 21:26:24 +03:00
fisker Cheung
ee46379ce9
Minify standalone.js ( #8270 )
2020-05-11 18:00:22 +08:00
fisker Cheung
c521d20c85
Build: Remove working directory from parser-typescript.js ( #8269 )
2020-05-11 09:23:13 +08:00
fisker Cheung
9686475c80
Test: Remove graceful-fs hack ( #8245 )
2020-05-11 09:05:48 +08:00
fisker Cheung
c768be4dd3
Switch dedent to outdent ( #8240 )
2020-05-11 09:05:06 +08:00
fisker Cheung
bfe5787726
Remove less/scss syntax in css tests ( #8267 )
2020-05-11 09:04:03 +08:00
fisker Cheung
e1611e855a
Update @angular/compiler and angular-estree-parse ( #7942 )
2020-05-11 09:03:39 +08:00
fisker Cheung
85a2db5a0c
Fix css tests ( #8264 )
...
* fix `stylefmt-repo` parser
* Fix tests
* Fix snapshots
* fix parsers
2020-05-09 07:50:34 +08:00
fisker Cheung
da44da64bb
Test bundled cosmiconfig ( #8262 )
2020-05-08 21:41:46 +08:00
fisker Cheung
aa2c003aa2
Support HTML-like Comments(only in html) ( #8173 )
2020-05-08 21:37:59 +08:00
fisker Cheung
75a3d9074b
Remove extra parser option in lwc tests ( #8257 )
2020-05-08 18:27:55 +08:00
fisker Cheung
ed3eeb82f8
Test: add parser check ( #8256 )
2020-05-08 10:56:09 +08:00
fisker Cheung
7ad515111e
Categorize tests part 4(CSS, flow, misc) ( #8251 )
2020-05-08 01:29:34 +08:00
fisker Cheung
b622578896
Categorize tests part 3 (js) ( #8249 )
...
* Categorize tests(js)
2020-05-08 00:55:46 +08:00
fisker Cheung
f8c5b1fd1d
Categorize tests part 2 ( #8248 )
...
* Categorize tests (yaml, markdown)
* Categorize tests (handlebars)
* Categorize tests (graphql)
* Categorize tests (typescript)
* Categorize tests (json)
* Categorize tests (jsx)
2020-05-07 23:54:44 +08:00
fisker Cheung
b585bd6fa4
Categorize tests (html) ( #8239 )
2020-05-07 23:05:21 +08:00
fisker Cheung
01c2015f72
Update CI cache key ( #8236 )
...
* Update CI cache key
* Update build script, expect missing cache
2020-05-07 03:51:25 +08:00
fisker Cheung
207d5245c5
Build: exclude index.js from bin-prettier ( #8119 )
2020-05-06 18:43:04 +08:00
fisker Cheung
208eaad44e
Test empty files with snippets ( #8116 )
...
* Test empty files with `snippets`
* Assert output
2020-05-04 18:27:15 +08:00
fisker Cheung
0dee55c534
Add missing peer dependency tslib ( #8161 )
2020-04-30 23:47:13 +08:00
fisker Cheung
14f5f8589f
Less: parser :extend as selector ( #8178 )
2020-04-30 11:58:21 +03:00
fisker Cheung
c0dab6bb7c
Remove outdated script ( #8163 )
2020-04-29 14:42:23 +08:00
fisker Cheung
4c4d044fbb
Bump eslint-plugin-unicorn to v19 ( #8158 )
2020-04-27 17:59:42 +08:00
fisker Cheung
82676f6308
Keep object key with escape sequence as it is ( #8160 )
2020-04-27 10:30:00 +08:00
fisker Cheung
99b0fae7e1
Add ObjectPattern tests for #8111 ( #8155 )
2020-04-26 11:19:18 +08:00
fisker Cheung
e69e90f067
Fix object trailing commas that last property is ignored ( #8111 )
...
* Add failed tests
* Fix trailing commas when last property is ignored
* Add changelog
* Add nested tests
* changelog title
2020-04-25 17:54:10 +03:00
fisker Cheung
f83eb9d5ef
Preserve non-ASCII whitespace characters in HTML ( #8137 )
...
* Add html whitespace tests
* `U+0005` -> `U+2005`
* Update tests
* Fix whitespace
* Add changelog
* Another space
* Restore `non-breaking` check
* Add space between tests
* Extract all space related codes to utils
* Fix indent detect
* Update changelog
* Another space
* Rename
* Rename
* Rename
* Use `htmlTrimFirstLine` and `htmlTrimEnd`
* Assert with output
* `htmlTrimPreserveIndentation`
* Update changelog
* Fix another space
2020-04-25 16:56:28 +03:00
fisker Cheung
c0cd681af0
Run tests on Node.js v14 ( #8126 )
2020-04-25 14:10:44 +08:00
fisker Cheung
f470142e16
test: Allow assert output ( #8142 )
...
* test: Allow assert output
* Use `outdent`
2020-04-25 09:23:34 +08:00
fisker Cheung
a14ba46a81
Add test for issue 8147 ( #8148 )
2020-04-24 23:18:40 +03:00
fisker Cheung
ea2169a97f
Build: Fix cache logic ( #8128 )
2020-04-24 11:00:06 +08:00
fisker Cheung
f68114ebf8
website: Use selected text as range ( #8089 )
2020-04-24 10:38:39 +08:00
fisker Cheung
1c93dcefca
Test comments in empty js file ( #8115 )
2020-04-23 20:36:58 +03:00
fisker Cheung
ab1ea713d6
Missing files on lint ( #8127 )
2020-04-23 19:33:40 +08:00
fisker Cheung
305fea8a59
Codebase install test ( #6373 )
2020-04-23 10:37:09 +08:00
fisker Cheung
2f6ef511c5
Bump angular-html-parser to v1.5.0 ( #8107 )
2020-04-21 17:09:39 +03:00
fisker Cheung
6ad8a7fef3
Use resolve if require.resolve is overridden ( #8072 )
...
# Conflicts:
# package.json
2020-04-21 17:02:48 +03:00
fisker Cheung
09d24debf0
Test json parse errors ( #8103 )
2020-04-21 14:38:30 +03:00
fisker Cheung
d2f51d7494
Fix ignore bug on windows ( #8098 )
...
* Fix file ignore bug on windows
* Use `ignore.ignores`
* Fix -stdin-filepath
* Add changelog
2020-04-21 14:33:20 +03:00
fisker Cheung and Georgii Dolzhykov
3a373074bc
Run tests on snippets instead of files ( #8088 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-04-21 15:57:58 +08:00
fisker Cheung
cfb28d632c
Use resolve if require.resolve is overridden ( #8072 )
2020-04-21 10:09:26 +03:00
fisker Cheung
eaca5dbe26
Correct standalone test environment variable ( #8080 )
2020-04-20 00:58:04 +03:00
fisker Cheung
fc5f5462ea
Simplify production tests ( #8075 )
2020-04-20 00:57:53 +03:00