dotenv-linter v2.0.0 Release Notes

Release Date: 2020-06-15 // 18 days ago
  • 🍱 🚀 Added

    🍱 🔧 Changed

    • 👕 Enable checks for outside current directory #209 (@tisorlawan)
    • ♻️ Refactor EndingBlankLineChecker: change last line check logic (add total_lines to FileEntry) #207 (@DDtKey)
    • 🛠 Fix check (for several successive blank lines): ExtraBlankLine #208 (@evgeniy-r)
    • 👕 Replace PathBuf with FileEntry for LineEntry #203 (@mgrachev)
    • 👕 Replace &'static str with &'a str for LeadingCharacterChecker #200 (@rossjones)
    • 👕 Replace &'static str with &'a str for QuoteCharacterChecker #198 (@duncandean)
    • 👕 Replace &'static str with &'a str for EndingBlankLineChecker #197 (@rossjones)
    • 👕 Replace String with &'a str for UnorderedKeyChecker #196 (@k0va1)
    • 👕 Replace String with &'a str for SpaceCharacterChecker #195 (@k0va1)
    • 👕 Replace String with &'a str for LowercaseKeyChecker #194 (@tisorlawan)
    • 👕 Replace &'static str with &'a str for ExtraBlankLineChecker #193 (@vishalsodani)
    • 👕 Replace String with &'a str for DuplicatedKeyChecker #192 (@IamSaquib)
    • 👕 Replace String with &'a str for KeyWithoutValueChecker #177 (@mgrachev)
    • 🛠 Fix docker image #160 (@mgrachev)
    • 👕 Replace &'static str with &'a str for IncorrectDelimiterChecker #191 (@DDtKey)

Previous changes from v1.2.0

  • 🍱 🔧 Changed

    • 👕 SpaceCharacter: Show check name in the message #149 (@pineapplethief)
    • 👕 LeadingCharacter: Show check name in message #144 (@michaetto)
    • 👕 Rename UnorderedKeys check to singular UnorderedKey #147 (@pineapplethief)
    • 👕 KeyWithoutValue: Show check name in the message #139 (@harshu4)
    • 👕 LowercaseKey: Show check name in the message #131 (@qelphybox)
    • 👕 DuplicatedKey: Show check name in message #138(@SaMuRa1ReM1X)
    • 👕 IncorrectDelimiter: Show check name in the message #146 (@undef1nd)
    • 👕 Replaced kcov with grcov in Github Actions #143 (@pmk21)
    • 👕 Streamline CLI tests and split into smaller files #137 (@sonro)
    • 👕 UnorderedKey: Added check name to the message #140 (@pmk21)
    • ➕ Add test coverage for CLI --exclude arguments #135 (@sonro)
    • 👕 Renamed check SpacesAroundEqual to SpaceCharacter #134 (@SaMuRa1ReM1X)
    • 👕 Rename check DuplicatedKeys to DuplicatedKey #133 (@sonro)
    • 👕 Minimizing Rust Binary Size #132 (@akirill0v)
    • ✂ Remove the unwrap method and use platform native OsString to fetch the information about current directory #115 (@kanapuli)
    • 👕 Use HashSet for DuplicateKeyChecker #113 (@TamasFlorin)
    • 👕 Use reference for the LineEntry as part of the run method for checks #111 (@TamasFlorin)
    • 🆕 New CLI API: Ability to check multiple directories #99 (@mgrachev)
    • ➕ Add exit with the code 0 when there are no warnings #105 (@simPod)
    • 👕 Use get method to get result of item in Vec and use ? operator unwrap the result if it's Some #108 (@boybird)