Sha256: b833b812a0218228abc07861abafee07d9991a125d57b80d17543b923430d914

Contents?: true

Size: 262 Bytes

Versions: 12

Compression:

Stored size: 262 Bytes

Contents

module HamlI18nLint
  class Linter5
    module CompilerExtension
      include ::HamlI18nLint::Linter::CompilerExtension

      def lint_attributes_hashes
        [@node.value[:dynamic_attributes]&.old&.gsub(/(^\{|\}$)/, '')].compact
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
haml_i18n_lint-0.12.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.11.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.10.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.9.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.8.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.7.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.6.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.5.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.4.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.3.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.2.0 lib/haml_i18n_lint/linter5/compiler_extension.rb
haml_i18n_lint-0.1.0 lib/haml_i18n_lint/linter5/compiler_extension.rb