Commit 94b10d3c authored by Connor Shea's avatar Connor Shea

Ignore linting for EE-specific warnings.

parent c9884d35
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
= render 'projects/fork_suggestion' = render 'projects/fork_suggestion'
- if @project.feature_available?(:file_locks) - if @project.feature_available?(:file_locks)
-# haml-lint:disable InlineJavaScript
%script#js-file-lock{ type: "application/json" } %script#js-file-lock{ type: "application/json" }
- data = {} - data = {}
- data[:path] = @path - data[:path] = @path
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
%td= @stats[:merge_requests_merged][index] %td= @stats[:merge_requests_merged][index]
%td= @stats[:total_events][index] %td= @stats[:total_events][index]
-# haml-lint:disable InlineJavaScript
%script#js-analytics-data{ type: "application/json" } %script#js-analytics-data{ type: "application/json" }
- data = {} - data = {}
- data[:labels] = @users.map(&:name) - data[:labels] = @users.map(&:name)
......
= webpack_bundle_tag 'add_gitlab_slack_application' = webpack_bundle_tag 'add_gitlab_slack_application'
-# haml-lint:disable InlineJavaScript
%script#js-add-gitlab-slack-application-entry-data{ type: "application/json" } %script#js-add-gitlab-slack-application-entry-data{ type: "application/json" }
= add_to_slack_data(@projects) = add_to_slack_data(@projects)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment