summaryrefslogtreecommitdiff
path: root/test/fixers/test_eslint_fixer_callback.vader
AgeCommit message (Collapse)Author
2024-05-31Fix eslint cwd strategy (#4781)ghsang
Change eslint cwd to follow configuration file paths.
2021-03-20#3633 - Put all dummy test files in test/test-filesw0rp
2021-03-01Close #2281 - Separate cwd commands from commandsw0rp
Working directories are now set seperately from the commands so they can later be swapped out when running linters over projects is supported, and also better support filename mapping for running linters on other machines in future.
2020-08-16Make it easier to run tests locallyw0rp
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
2020-07-01Run ESLint fixer from project root, where possible (#3096)Kevin Locke
* Split eslint#GetCdString from eslint#GetCommand Move the code for finding the project root and building the cd string into a separate function so that it can be reused in the eslint fixer. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * Run ESLint fixer from project root dir To match the ESLint linter, as changed in 9ee57d43 (which I forgot to apply to the fixer, whoops). Fixes: #3094 Closes: #3095 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-05-17Fix #1989 - Use ESlint options for fixers toow0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2018-09-17Handle failing to connect to eslint_dw0rp
2017-12-19Fix the mscs tests on Windows, and use the improved Simplify for all tests ↵v1.7.0w0rp
instead.
2017-11-29Fix #1178 - Don't use the output from eslint_d for fixing files when the ↵w0rp
output is an error message
2017-11-22Fix #988 - Support --fix-dry-run for ESLint by processing the JSON outputw0rp
2017-11-22Fix the eslint_d fixer tests for Windowsw0rp
2017-11-22#988 Take --fix-dry-run away again, because it is dumbw0rp
2017-11-22Fix #988 - Support --fix-dry-run for ESLint where available, and ↵w0rp
--fix-to-stdout for eslint_d
2017-10-01Get fixer tests to work on Windowsw0rp
2017-09-24There seems to be a bug in eslint that causes the `--config` option toRay Zane
not detect node_modules correctly. The `-c` option, however, works fine.
2017-09-12Fix #923 Use package.json as a last resort for eslint --fixw0rp
2017-09-11Fix #922 - Prefer nearer ESLint configuration files with lower precedence ↵w0rp
filenames for eslint --fix
2017-08-31Fix #895 - Run Node.js scripts with node.exe instead of node on Windowsw0rp
2017-07-18Fix #775 - Run eslint.js via node on Windows for eslint --fixw0rp