prettier/src/common
Shinigami f059d7a31b JSDoc type added in `src/common/util.js` (#6788)
* JSDoc type added in `src/common/util.js`

* skip can return false

* Add TBD for false - 1 not allowed

* Define typedef SkipOptions

* Use method generic for node param

* Define node param for setLocStart and setLocEnd

* Copy idx param to local variable

* Add @returns false

* Update Utility functions docs

* hasNewline param index: allow only number

* Add condition

* Add function keyword to docs

* Add prettier-ignore

* Improve condition

* Remove TBD comment

* Use single quotes

* Add type to oldIndex

* Use singleline JSDocs
2019-11-05 13:28:44 +02:00
..
common-options.js feat(yaml): support proseWrap (#4742) 2018-07-04 00:28:47 +08:00
create-ignorer.js feat(api): make `getFileInfo()` really async (#4640) 2018-06-07 00:34:02 +08:00
end-of-line.js Add option to enforce certain line endings (#5327) 2018-11-06 22:47:13 +08:00
errors.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
fast-path.js Revert "refactor: rewrite FastPath class (#6225)" (#6226) 2019-06-15 16:10:26 -03:00
get-file-info.js API: add resolveConfig option to getFileInfo() (#6666) 2019-10-23 13:56:59 +02:00
internal-plugins.js Adds LWC Parser to support unquoted interop attributes (#5800) 2019-02-01 13:58:50 +08:00
load-plugins.js Improve Rollup setup 2019-06-07 18:20:40 -03:00
parser-create-error.js Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
parser-include-shebang.js Prettier Plugin API (#3536) 2017-12-26 12:23:50 +11:00
third-party.js revert: `--only-changed` argument (#6594) 2019-10-03 11:21:05 -03:00
util-shared.js feat: more shared utils for plugins (#5254) 2018-10-17 07:53:38 -07:00
util.js JSDoc type added in `src/common/util.js` (#6788) 2019-11-05 13:28:44 +02:00