prettier/tests_config
David Sheldrick d77f5e9c3a Fix cursor offset tracking (#4397)
* handle cusor position relative to comments correctly

* use more robust method of cursor offset tracking

* add support for cursorOffset with rangeStart/End

* add tests for cursorOffset

* use old JS syntax for node4

* add another cursor offset test case

* remove trailing whitespace in cursor tests

* fix null findNodeAtOffset handling

* remove dead code

* add more test cases

* use indexOf for node4

* revert comments.js

* add more comment tests

* change tests infra

* Fix AST_COMPARE

* move CURSOR to top level of file

* mutate result

* use es6 property shorthand

* simplify diff offset calculation

* put remaining test cases in individual files
2018-05-01 09:42:59 -03:00
..
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00
fs.js Automatically load plugins from package.json (#3624) 2018-01-05 21:09:51 +11:00
raw-serializer.js Improve ESLint setup and fix errors (#1656) 2017-05-21 12:11:09 -07:00
require_prettier.js Run production tests on npm package (#3730) 2018-01-13 03:19:20 +11:00
run_spec.js Fix cursor offset tracking (#4397) 2018-05-01 09:42:59 -03:00