Ryan Dahl
151ce0266e
Move everything into std subdir
2019-10-09 17:10:09 -04:00
Nayeem Rahman
2f90225c89
Implement expandGlob() and expandGlobSync() ( denoland/deno_std#617 )
...
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604 .
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
and filepath options.
fs/globrex.ts:
- Add GlobrexOptions.
fs/path/constants.ts:
- Add SEP_PATTERN.
fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.
prettier:
- Refactor to use expandGlob().
testing:
- Make findTestModules() an async generator.
Original: 8c90bd9d0b
2019-10-02 13:59:27 -04:00
Nayeem Rahman
ad6360edf9
Make shebangs Linux compatible ( denoland/deno_std#545 )
...
Original: 5e77e8adc7
2019-07-28 11:10:29 +00:00
Axetroy
78a9a27e6f
prettier: support reading code from stdin ( denoland/deno_std#498 )
...
Original: 85db520b60
2019-06-30 11:10:00 -04:00
Axetroy
c85b1c06a9
lint: add max line length rules ( denoland/deno_std#507 )
...
Original: b04fda30c8
2019-06-18 21:22:01 -07:00
Axetroy
74498f1e0c
Prettier: support for specified files and glob mode ( denoland/deno_std#438 )
...
Original: 1083db10ed
2019-05-25 17:17:56 +03:00
Axetroy
915b4f520b
feat(prettier): output to stdout instead of write file by default unless specified --write flag ( denoland/deno_std#332 )
...
Original: 434007b8ab
2019-05-21 08:23:23 -04:00
Ryan Dahl
1b359f4106
walk() should not use deprecated FileInfo.path ( denoland/deno_std#398 )
...
The walk() interface is change to return a WalkInfo object which
contains both the resolved filename and FileInfo object from stat.
The followSymlinks feature is disabled for now.
Original: 07ca4f9629
2019-05-14 17:14:08 -04:00
Vincent LE GOFF
dcd01dd025
Eslint fixes ( denoland/deno_std#356 )
...
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Bartek Iwańczuk
4347148d50
Fix prettier check in empty files ( denoland/deno_std#302 )
...
Original: e5a493e9e8
2019-03-24 11:26:47 -04:00
Yoshiya Hinosawa
d1b0a1ef6c
Add prettier styling options ( denoland/deno_std#281 )
...
Original: fae48d5dfb
2019-03-17 18:23:21 -04:00
Andy Hayden
4b96bfa8c7
Use fs.walk rather than git ls-files ( denoland/deno_std#241 )
...
Original: afaf343f37
2019-03-08 02:01:39 -05:00
Kitson Kelly
17663c1232
Add eslint for linting ( denoland/deno_std#235 )
...
Original: c0390ade3d
2019-03-04 19:53:35 -05:00
Bert Belder
2ba7de2d04
Change import { x } from "deno"
to const { x } = Deno
( denoland/deno_std#218 )
...
Original: 6063378a92
2019-02-26 00:35:50 -05:00
Yoshiya Hinosawa
0eb1a49b38
Add reusable prettier wrapper CLI ( denoland/deno_std#165 )
...
This also fixes an issue with the path on azure-pipelines.
Original: e7837ff0f0
2019-02-01 10:16:39 -05:00