E.J. Sexton
122fdfd329
Fixed command string for phpcbf fixer
2017-12-02 09:27:18 +01:00
w0rp
6503b85d3d
Fix #1178 - Don't use the output from eslint_d for fixing files when the output is an error message
2017-11-29 10:08:54 +00:00
w0rp
5160f814d9
Fix #988 - Support --fix-dry-run for ESLint by processing the JSON output
2017-11-22 23:23:14 +00:00
w0rp
fbfde6968a
Fix a typo
2017-11-22 17:44:21 +00:00
w0rp
9857e0a4b7
Fix the eslint_d fixer tests for Windows
2017-11-22 17:25:37 +00:00
w0rp
6e65998ca7
#988 Take --fix-dry-run away again, because it is dumb
2017-11-22 17:01:50 +00:00
w0rp
b5ec1a5fd0
Fix #988 - Support --fix-dry-run for ESLint where available, and --fix-to-stdout for eslint_d
2017-11-22 16:51:04 +00:00
w0rp
4b4762697c
#1095 Use --stdin-filepath where available for prettier-eslint
2017-11-22 14:46:14 +00:00
w0rp
520541cd2d
#1095 - Use --stdin-filepath for prettier, where available
2017-11-22 13:46:11 +00:00
w0rp
48eb362fca
Add tests for the goimports fixer commands
2017-11-14 17:46:40 +00:00
Jeff Willette
20a01404f3
Added support for goimports fixer ( #1123 )
...
* Added support for goimports fixer
* added test and executable check
* fixed test assertions to reflect executable check
2017-11-14 17:37:22 +00:00
w0rp
3c8e6ed51c
Modify the shmft tests so they won't mess with your settings
2017-11-05 21:31:41 +00:00
Simon Bugert
716b22d524
Add shfmt fixer for sh files ( #1083 )
...
* Add shfmt fixer for sh files
* Add tests for shfmt fixer
2017-11-05 21:24:41 +00:00
Ahmed El Gabri
634eb1920c
refmt fixer for ReasonML
2017-10-29 21:48:28 +01:00
Sam Howie
36898436b5
Add hackfmt fixer
2017-10-27 13:42:55 -07:00
Zack Kourouma
07dad64acb
adds fixer support for hfmt ( #1027 )
...
Add support for fixing Haskell with hfmt
2017-10-24 22:29:04 +01:00
w0rp
c248885e57
Merge pull request #1025 from kfox/add-rustfmt-fixer
...
add rustfmt fixer
2017-10-24 22:20:03 +01:00
Carlos Ramos
3212278c91
fix test's and delete unused code
2017-10-22 19:20:38 -04:00
Carlos Ramos
43653ef548
new fixer elixir mix format
...
(only available in elixir > 1.6)
2017-10-22 19:20:38 -04:00
Kelly Fox
35031a0b8a
add rustfmt fixer
2017-10-21 12:31:49 -05:00
Zack Kourouma
e023e7a2fe
add prettier fixer support for 'less' filetype
2017-10-20 18:29:57 -07:00
Carlos Ramos
8a8879a28f
fix test't
2017-10-16 12:08:10 -04:00
Carlos Ramos
07ebfbeef0
Add new fixer tslint for typescript, fixes #932
2017-10-16 00:53:17 -04:00
Carlos Ramos
844354cfed
Add new fixer: TrimWhitespace ( #991 )
...
add a new fixer: trim_whitespace
2017-10-12 09:27:24 +01:00
aliou
e376f0ae44
gofmt fixer for Go ( #970 )
...
Add a gofmt fixer for golang.
2017-10-03 18:54:35 +01:00
w0rp
5091e2de45
Get fixer tests to work on Windows
2017-10-01 20:23:41 +01:00
w0rp
638ca42082
Use local versions of yapf on Windows, and get the callback tests to pass
2017-10-01 18:47:54 +01:00
Ray Zane
cb56cbb714
There seems to be a bug in eslint that causes the --config
option to
...
not detect node_modules correctly. The `-c` option, however, works fine.
2017-09-24 13:57:18 -04:00
w0rp
661ed6e40b
Fix #923 Use package.json as a last resort for eslint --fix
2017-09-12 09:10:37 +01:00
w0rp
8eb99c3cec
Fix #922 - Prefer nearer ESLint configuration files with lower precedence filenames for eslint --fix
2017-09-11 21:53:45 +01:00
Clément DOUIN
f3da8f45c1
Add elm-format as a new fixer ( #916 )
...
* Add elm-format as a new fixer
2017-09-09 21:30:20 +01:00
Peter Renström
03f1c1e81b
Add 'prettier' fixer support to TypeScript, CSS, SCSS and JSON ( #910 )
...
* Add prettier fixer support for typescript
* Add prettier fixer support for css and scss
* Add prettier fixer support for json
* Use getbufvar() to get &filetype
2017-09-06 15:21:26 +01:00
w0rp
7c2a5052a8
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
2017-08-31 13:12:24 +01:00
w0rp
f36f38c960
Cover the prettier-eslint changes with tests, and fix some problems
2017-08-30 22:49:46 +01:00
aliou
b36882e72e
Add support for prettier configuration file. ( #886 )
...
* Add support for prettier configuration file.
As of version 1.6.0, prettier allows passing a `--config` argument with
a path to a configuration file.
* Add test prettier configuration file.
* Add option to use local prettier configuration.
* Add description for new prettier option.
* Also check if the config is present before using it.
2017-08-29 16:05:19 +01:00
Peter Renström
4bea50b82f
Add clang-format fixer for C/C++ ( #873 )
...
* Add clang-format fixer for C/C++
* Document clang-format options
* Refer ale-cpp-clangformat to ale-c-clangformat
2017-08-24 22:49:43 +01:00
tmn-o3
5a9a365aed
add phpcbf fixer
2017-08-20 05:47:21 +00:00
w0rp
78b9ae0f1c
Add a fix function for breaking up long Python lines, which is hidden for now
2017-08-11 10:31:25 +01:00
w0rp
dcf7cbe366
Merge pull request #842 from gfontenot/gf-swiftformat
...
Add support for SwiftFormat as a fixer
2017-08-10 21:06:55 +01:00
w0rp
34aa3437e0
Pass extra rubocop options in the middle instead, and fix the Vader test so it can be run multiple times in Vim
2017-08-10 14:57:30 +01:00
Miguel Palhas
0c26e8945c
Rubocop fixer now uses g:ale_ruby_rubocop_options ( #841 )
...
* Rubocop fixer now uses g:ale_ruby_rubocop_options
* Adds spec
2017-08-10 14:52:54 +01:00
Gordon Fontenot
4709e67627
Add support for SwiftFormat as a fixer
...
SwiftFormat is a tool that can be used to format Swift files. This commit adds
support for using SwiftFormat as a fixer from ALE. It looks for executables in
the Pods directory, then the Pods directory for a React Native project, then
finally falls back to the globally installed instance if neither of those were
found.
https://github.com/nicklockwood/SwiftFormat
2017-08-09 12:41:21 -05:00
Mahmoud Mostafa
eaeb71993f
Add stylelint fixer
2017-07-31 02:54:59 +02:00
w0rp
12217480f9
Merge pull request #781 from sumnerevans/standard-fixer
...
Added fixer for Standard linter
2017-07-22 19:33:42 +01:00
Sumner Evans
f3fec6685e
added tests for Standard.js
2017-07-21 11:47:41 -06:00
w0rp
a5f754a5e0
Fix #786 - Only set --no-local-style for yapf if a configuration file is detected
2017-07-20 11:07:07 +01:00
w0rp
0931e99ea4
Fix #775 - Run eslint.js via node on Windows for eslint --fix
2017-07-18 12:28:20 +01:00
w0rp
6a84605c57
Make every test set filenames and switch directories in the same way, and fix some missing escaping for the rubocop linter
2017-07-09 22:43:31 +01:00
w0rp
854066e849
#732 - Use the configuration files when fixing files with rubocop
2017-07-06 22:58:14 +01:00
w0rp
160b9548ee
Add a function for fixing the alignment of Vim help tags
2017-07-03 16:51:34 +01:00