summaryrefslogtreecommitdiff
path: root/lib/haml_lint
Commit message (Collapse)AuthorAgeFilesLines
* Fix uninitialized constant HamlLint::LinterBrett Walker2018-10-171-3/+3
| | | | | | Running multiple `rake` commands with `spring', such as `spring rake db:rollback` could cause a `NameError: uninitialized constant HamlLint::Linter`
* Enable even more frozen string in lib/**/*.rbgfyoung2018-10-081-1/+4
| | | | | | | | | | | | | | | | | | | | Enables frozen string for the following files: * lib/generators/**/*.rb * lib/gitaly/**/*.rb * lib/google_api/**/*.rb * lib/haml_lint/**/*.rb * lib/json_web_token/**/*.rb * lib/mattermost/**/*.rb * lib/microsoft_teams/**/*.rb * lib/object_storage/**/*.rb * lib/omni_auth/**/*.rb * lib/peek/**/*.rb * lib/rouge/**/*.rb * lib/rspec_flaky/**/*.rb * lib/system_check/**/*.rb Partially addresses #47424.
* [CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto2018-03-081-1/+1
|
* Update inline_javascript.rb to lint uses of the javascript filter as well as ↵Connor Shea2018-02-281-1/+7
| | | | script tags.
* Update inline_javascript.rbWinnie Hellmann2018-02-281-2/+2
|
* Forbid all inline script tags in Linter::InlineJavaScriptWinnie Hellmann2018-02-281-1/+1
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+1
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Restrict InlineJavaScript for haml_lint to dev and test environmentwinh-scope-haml-linterwinh2017-08-081-9/+11
|
* Add custom linter for inline JavaScript to haml_lint (!9742)winniehell2017-08-071-0/+14