aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/tidy.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix line numbering in tidyLaurențiu Nicola2021-06-181-1/+1
|
* minor: fix typoAleksey Kladov2021-06-151-1/+1
|
* internal: enforce no #[ignore] and no #[should_panic]Aleksey Kladov2021-06-151-0/+31
|
* internal: start new diagnostics APIAleksey Kladov2021-06-131-1/+4
| | | | | | | | | | | | | | | | | | At the moment, this moves only a single diagnostic, but the idea is reafactor the rest to use the same pattern. We are going to have a single file per diagnostic. This file will define diagnostics code, rendering range and fixes, if any. It'll also have all of the tests. This is similar to how we deal with assists. After we refactor all diagnostics to follow this pattern, we'll probably move them to a new `ide_diagnostics` crate. Not that we intentionally want to test all diagnostics on this layer, despite the fact that they are generally emitted in the guts on the compiler. Diagnostics care to much about the end presentation details/fixes to be worth-while "unit" testing. So, we'll unit-test only the primary output of compilation process (types and name res tables), and will use integrated UI tests for diagnostics.
* internal: check that coverage marks are always pairedAleksey Kladov2021-06-131-1/+48
|
* Exclude `crates/ide_db/src/helpers/generated_lints.rs` from `tidy::check_todo`Lukas Wirth2021-06-041-3/+5
|
* Use push_strClemens Wasser2021-06-031-2/+2
|
* Apply more clippy suggestions and update generatedClemens Wasser2021-06-031-4/+4
|
* tidyDomantas Jadenkus2021-05-241-0/+1
|
* Add last remaining module docstringFlorian Diebold2021-05-221-21/+2
|
* Add even more docsAleksey Kladov2021-05-221-2/+2
|
* Add more docsAleksey Kladov2021-05-221-12/+1
|
* internal: scalable module structure for fixitsAleksey Kladov2021-05-171-3/+2
|
* Update license checkkjeremy2021-04-151-1/+1
|
* a lot of clippy::style fixesMatthias Krüger2021-03-211-1/+1
|
* Remove now dead codeAleksey Kladov2021-03-081-11/+14
|
* Unused paramsAleksey Kladov2021-03-081-1/+1
|
* Make `code generation` just workAleksey Kladov2021-03-081-8/+13
| | | | | Contributors don't need to learn about `cargo xtask codegen` if `cargo test` just does the right thing.
* Make working with codegen less annoyingAleksey Kladov2021-03-081-12/+4
| | | | | | | | | | We probably should look into removing `xtask codegen` altogether. The test workflow works perfectly for package.json config. There are two things preventing that: * Lint completions are generated on demand. * Docs are not committed to the repository.
* Check for path dev-dependencies with a version numberLaurențiu Nicola2021-03-011-10/+33
|
* Simplify xtaskAleksey Kladov2021-03-011-0/+424
lib/bin/test separation isn't really needed.