Last active
May 20, 2019 09:34
-
-
Save rob-murray/416bd01b2a9a1244fd39f3b4b489b6f3 to your computer and use it in GitHub Desktop.
This file contains 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
linters: | |
LineLength: | |
max: 40 |
This file contains 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
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
# Inline disable LineLength works: | |
gem "haml_lint", github: "sds/haml-lint", ref: "0d8316d1535a008eb8673286a302026a277e4a4d" | |
# # Inline disable LineLength not working: | |
# gem "haml_lint", github: "sds/haml-lint", ref: "5b4ebf93749ad091553847c18fe7239d64c62a83" |
This file contains 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
!!! | |
%html{ lang: "en-GB" } | |
%head | |
%body | |
-# haml-lint:disable LineLength | |
%h1 testtesttesttesttesttesttesttesttesttesttesttest | |
-# haml-lint:enable LineLength | |
%p foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment