chore(deps): update dependency @herb-tools/linter to ^0.9.0#993
Open
chore(deps): update dependency @herb-tools/linter to ^0.9.0#993
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.8.5→^0.9.0Release Notes
marcoroth/herb (@herb-tools/linter)
v0.9.0Compare Source
Herb v0.9
Check out the "What's new in Herb v0.9" post on the Herb Blog.
Core
TS2304: Cannot find name 'TextDecoder'error by @marcoroth in #1175lex_fileandparse_filein language bindings by @marcoroth in #1325Herb.parse_pubyto parse Ruby with Prism by @marcoroth in #1353Parser
analyzeoption toparser_options_Tby @citizen428 in #1144HTMLConditionalElementNodeby @marcoroth in #1146parser_optionsparameterconstinherb_parseby @citizen428 in #1151HTMLConditionalOpenTagNodeby @marcoroth in #1153--!>by @marcoroth in #1156strictoption toparser_optionsby @marcoroth in #1171HTMLOmittedCloseTagNodeandOmittedClosingTagErrorby @marcoroth in #1173MissingAttributeValueErrorfor empty attribute values by @marcoroth in #1182strict: falseinOmittedClosingTagErrormessage by @marcoroth in #1189ParseResultby @marcoroth in #1190UnclosedCloseTagErrorby @marcoroth in #1216casenode andendtag matching by @marcoroth in #1237ConditionalElementMultipleTagsErroron valid templates by @marcoroth in #1240StrayERBClosingTagErrorby @marcoroth in #1256case/whenandcase/inin strict mode by @marcoroth in #1263sourcetoelement_sourceforHTMLElementNodeby @marcoroth in #1331turbo_frame_taghelper by @marcoroth in #1354Engine
strictby default by @marcoroth in #1184assert_evaluated_snapshotproduces valid Ruby in tests by @marcoroth in #1209ERBBlockNodevia comments by @kozy4324 in #977<%= -%>does not trim trailing newline by @joelhawksley in #1361<% end %>on output blocks produce invalid Ruby by @joelhawksley in #1363Formatter
herb-formatrespects.herb.ymlby @marcoroth in #1185expectFormattedToMatchtest helper by @marcoroth in #1215white-spacesignificant elements by @marcoroth in #1280withInlineModeby @marcoroth in #1285Linter
html-no-empty-headingsto detect non-output ERB by @marcoroth in #1162html-anchor-require-hrefwitherblint-githubinsights by @marcoroth in #1228RuleClass().namestatic by @citizen428 in #1268typefrom class instead of instance by @marcoroth in #1298html-img-require-altrule by @marcoroth in #1311pathto CLI-only bundle by @marcoroth in #1352html-anchor-require-hrefAction View Helper aware by @marcoroth in #1367Linter Rules
New Rules
erb-no-conditional-html-elementrule by @marcoroth in #1150html-no-aria-hidden-on-bodyrule by @marcoroth in #1163html-no-abstract-rolesrule by @marcoroth in #1164erb-no-trailing-whitespacerule by @markokajzer in #1168erb-no-conditional-open-tagrule by @markokajzer in #1200html-allowed-script-typerule by @markokajzer in #1201html-require-closing-tagsrule by @markokajzer in #1199turbo-permanent-require-idrule by @pardeyke in #1229erb-no-inline-case-conditionsrule by @marcoroth in #1265erb-no-interpolated-class-namesrule by @marcoroth in #1283erb-no-duplicate-branch-elementsrule by @marcoroth in #1301erb-no-then-in-control-flowrule by @marcoroth in #1309erb-no-statement-in-scriptrule by @marcoroth in #1330erb-no-javascript-tag-helperrule by @marcoroth in #1330erb-no-unsafe-script-interpolationrule by @marcoroth in #1330erb-no-raw-output-in-attribute-valuerule by @marcoroth in #1330erb-no-unsafe-rawrule by @marcoroth in #1330erb-no-unsafe-js-attributerule by @marcoroth in #1330erb-no-output-in-attribute-positionrule by @marcoroth in #1330erb-no-output-in-attribute-namerule by @marcoroth in #1330erb-no-instance-variables-in-partialslinter rule by @marcoroth in #1355actionview-no-silent-helperrule by @marcoroth in #1358html-details-has-summaryrule by @marcoroth in #1370Autofixes
erb-no-duplicate-branch-elementsby @marcoroth in #1302Language Server
.herb.ymlfiles.excludeinLintServiceby @marcoroth in #1271Playground
analyzeandstrictparser options by @marcoroth in #1172Rewriter
link_toin Action View rewriter by @marcoroth in #1351Printer
Extractor
extract_ruby_optionsacross all language bindings by @Lusqinha in #675extract_rubyby @marcoroth in #1297Ruby
.herb.ymland makeexcludeadditive by @marcoroth in #1166tsortfromGemfilesince it's fixed in RBS by @marcoroth in #1187arena_statskwarg and--arena-statsCLI flag by @marcoroth in #1293--arena-statsoutput inanalyzeby @marcoroth in #1324Ruby CLI
herb analyzecommand by @marcoroth in #1259stdinas an option for[file]by @marcoroth in #1186--no-analyzeand--track-whitespaceoptions by @marcoroth in #1249--arena-statsflag toanalyzesubcommand by @marcoroth in #1294compileproduces invalid Ruby by @marcoroth in #1365Rust
Node.js/Deno
@herb-tools/nodeby @fc-anjos in #375Java
Config
engine.*configuration options by @joelhawksley in #1315 and @marcoroth in #1375Visual Studio Code Extension
Documentation
Internal
oxlintby @marcoroth in #1238pkg-pr-newtov0.0.63for now by @marcoroth in #1258WebAssembly
ERROR_ON_UNDEFINED_SYMBOLSflag by @marcoroth in #1165libherb
analyze.cintosrc/analyze/by @marcoroth in #714HERB_EXCLUDE_PRETTYPRINTpreprocessor flag by @marcoroth in #1262hb_allocator_Tby @marcoroth in #1287--leak-checktoanalyzeby @marcoroth in #1304hb_allocator_Tforlocation_createby @marcoroth in #1306mallocusage in errors andhb_stringby @marcoroth in #1307hb_string_Tfortoken_T.valueby @timkaechele in #687hb_string_TforERROR_T.messageand error functions by @marcoroth in #1313trim,blankand simplifyhb_string_Toperations by @marcoroth in #1314token_type_to_friendly_stringtohb_string_Tby @marcoroth in #1316hb_string_Tby @marcoroth in #1317hb_string()to compute length at compile time by @marcoroth in #1318hb_stringfunctions by @marcoroth in #1320reallocforhb_allocator_Tby @marcoroth in #1322hb_arrayto usehb_allocator_Tinfrastructure by @marcoroth in #1323hb_bufferto usehb_allocator_Tinfrastructure by @marcoroth in #1326HB_STRING_LISTfor statichb_string_Tarray initialization by @marcoroth in #1321hb_narrayto use new allocator system by @timkaechele in #1327Dependencies
New Contributors
Commits
Full Changelog: marcoroth/herb@v0.8.10...v0.9.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.