diff options
author | Peter Renström <renstrom.peter@gmail.com> | 2017-09-06 16:21:26 +0200 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-09-06 15:21:26 +0100 |
commit | 03f1c1e81bdf1fd41b535f6a0260d47ba1bf60dc (patch) | |
tree | 372ace207ef4b89d9b61b5d0d364dc3e01fd9dfb /doc | |
parent | c277cdef8cb24512583093d7a9b7d68a14e6d82b (diff) | |
download | ale-03f1c1e81bdf1fd41b535f6a0260d47ba1bf60dc.zip |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-css.txt | 6 | ||||
-rw-r--r-- | doc/ale-json.txt | 18 | ||||
-rw-r--r-- | doc/ale-scss.txt | 6 | ||||
-rw-r--r-- | doc/ale-typescript.txt | 6 | ||||
-rw-r--r-- | doc/ale.txt | 14 |
5 files changed, 46 insertions, 4 deletions
diff --git a/doc/ale-css.txt b/doc/ale-css.txt index b1ab8eb8..979be881 100644 --- a/doc/ale-css.txt +++ b/doc/ale-css.txt @@ -30,4 +30,10 @@ g:ale_css_stylelint_use_global *g:ale_css_stylelint_use_global* =============================================================================== +prettier *ale-css-prettier* + +See |ale-javascript-prettier| for information about the available options. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-json.txt b/doc/ale-json.txt new file mode 100644 index 00000000..1d052d55 --- /dev/null +++ b/doc/ale-json.txt @@ -0,0 +1,18 @@ +=============================================================================== +ALE JSON Integration *ale-json-options* + + +=============================================================================== +jsonlint *ale-json-jsonlint* + +There are no options available. + + +=============================================================================== +prettier *ale-json-prettier* + +See |ale-javascript-prettier| for information about the available options. + + +=============================================================================== + vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-scss.txt b/doc/ale-scss.txt index c7b79195..e0b0a11d 100644 --- a/doc/ale-scss.txt +++ b/doc/ale-scss.txt @@ -22,4 +22,10 @@ g:ale_scss_stylelint_use_global *g:ale_scss_stylelint_use_global* =============================================================================== +prettier *ale-scss-prettier* + +See |ale-javascript-prettier| for information about the available options. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt index 949b80de..887766fe 100644 --- a/doc/ale-typescript.txt +++ b/doc/ale-typescript.txt @@ -94,4 +94,10 @@ g:ale_typescript_tsserver_use_global *g:ale_typescript_tsserver_use_global* =============================================================================== +prettier *ale-typescript-prettier* + +See |ale-javascript-prettier| for information about the available options. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index 899e8c80..3c02af37 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -33,6 +33,7 @@ CONTENTS *ale-contents* gcc.................................|ale-cpp-gcc| clang-format........................|ale-cpp-clangformat| css...................................|ale-css-options| + prettier............................|ale-css-prettier| stylelint...........................|ale-css-stylelint| cmake.................................|ale-cmake-options| cmakelint...........................|ale-cmake-cmakelint| @@ -71,6 +72,9 @@ CONTENTS *ale-contents* prettier-standard...................|ale-javascript-prettier-standard| standard............................|ale-javascript-standard| xo..................................|ale-javascript-xo| + json..................................|ale-json-options| + jsonlint............................|ale-json-jsonlint| + prettier............................|ale-json-prettier| kotlin................................|ale-kotlin-options| kotlinc.............................|ale-kotlin-kotlinc| lua...................................|ale-lua-options| @@ -117,6 +121,7 @@ CONTENTS *ale-contents* scala.................................|ale-scala-options| scalastyle..........................|ale-scala-scalastyle| scss..................................|ale-scss-options| + prettier............................|ale-scss-prettier| stylelint...........................|ale-scss-stylelint| sh....................................|ale-sh-options| shell...............................|ale-sh-shell| @@ -136,6 +141,7 @@ CONTENTS *ale-contents* thrift..............................|ale-thrift-thrift| typescript............................|ale-typescript-options| eslint..............................|ale-typescript-eslint| + prettier............................|ale-typescript-prettier| tslint..............................|ale-typescript-tslint| tsserver............................|ale-typescript-tsserver| verilog/systemverilog.................|ale-verilog-options| @@ -200,7 +206,7 @@ Notes: * CMake: `cmakelint` * CoffeeScript: `coffee`, `coffeelint` * Crystal: `crystal`!! -* CSS: `csslint`, `stylelint` +* CSS: `csslint`, `stylelint`, `prettier` * Cython (pyrex filetype): `cython` * D: `dmd` * Dart: `dartanalyzer` @@ -220,7 +226,7 @@ Notes: * Idris: `idris` * Java: `checkstyle`, `javac` * JavaScript: `eslint`, `jscs`, `jshint`, `flow`, `prettier`, `prettier-eslint` >= 4.2.0, `prettier-standard`, `standard`, `xo` -* JSON: `jsonlint` +* JSON: `jsonlint`, `prettier` * Kotlin: `kotlinc`, `ktlint` * LaTeX (tex): `chktex`, `lacheck`, `proselint` * Lua: `luacheck` @@ -245,7 +251,7 @@ Notes: * Ruby: `brakeman`, `rails_best_practices`!!, `reek`, `rubocop`, `ruby` * Rust: `cargo`!!, `rls`, `rustc` (see |ale-integration-rust|) * SASS: `sass-lint`, `stylelint` -* SCSS: `sass-lint`, `scss-lint`, `stylelint` +* SCSS: `sass-lint`, `scss-lint`, `stylelint`, `prettier` * Scala: `scalac`, `scalastyle` * Slim: `slim-lint` * SML: `smlnj` @@ -256,7 +262,7 @@ Notes: * Texinfo: `proselint` * Text^: `proselint`, `vale` * Thrift: `thrift` -* TypeScript: `eslint`, `tslint`, `tsserver`, `typecheck` +* TypeScript: `eslint`, `tslint`, `tsserver`, `typecheck`, `prettier` * Verilog: `iverilog`, `verilator` * Vim: `vint` * Vim help^: `proselint` |