Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
bd0017c6
Commit
bd0017c6
authored
Nov 21, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up globals exemptions within .eslintrc
parent
12e4f5bd
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
47 additions
and
25 deletions
+47
-25
.eslintrc
.eslintrc
+5
-17
app/assets/javascripts/activities.js.es6
app/assets/javascripts/activities.js.es6
+2
-1
app/assets/javascripts/cycle_analytics/components/stage_code_component.js.es6
...ts/cycle_analytics/components/stage_code_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_issue_component.js.es6
...s/cycle_analytics/components/stage_issue_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_plan_component.js.es6
...ts/cycle_analytics/components/stage_plan_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_production_component.js.es6
...le_analytics/components/stage_production_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_review_component.js.es6
.../cycle_analytics/components/stage_review_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_staging_component.js.es6
...cycle_analytics/components/stage_staging_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/stage_test_component.js.es6
...ts/cycle_analytics/components/stage_test_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6
...ts/cycle_analytics/components/total_time_component.js.es6
+2
-0
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
...javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
+4
-0
app/assets/javascripts/environments/components/environment.js.es6
...ts/javascripts/environments/components/environment.js.es6
+5
-4
app/assets/javascripts/environments/components/environment_item.js.es6
...vascripts/environments/components/environment_item.js.es6
+2
-1
app/assets/javascripts/logo.js
app/assets/javascripts/logo.js
+2
-0
app/assets/javascripts/tree.js
app/assets/javascripts/tree.js
+1
-0
spec/javascripts/.eslintrc
spec/javascripts/.eslintrc
+4
-0
spec/javascripts/build_spec.js.es6
spec/javascripts/build_spec.js.es6
+3
-1
spec/javascripts/environments/environments_store_spec.js.es6
spec/javascripts/environments/environments_store_spec.js.es6
+3
-1
No files found.
.eslintrc
View file @
bd0017c6
{
{
"env": {
"browser": true,
"es6": true
},
"extends": "airbnb",
"extends": "airbnb",
"plugins": [
"plugins": [
"filenames"
"filenames"
...
@@ -9,23 +13,7 @@
...
@@ -9,23 +13,7 @@
"globals": {
"globals": {
"$": false,
"$": false,
"_": false,
"_": false,
"beforeEach": false,
"d3": false,
"define": false,
"describe": false,
"document": false,
"expect": false,
"fixture": false,
"gl": false,
"gl": false,
"it": false,
"jQuery": false
"jQuery": false,
"Mousetrap": false,
"spyOn": false,
"spyOnEvent": false,
"Turbolinks": false,
"window": false,
"Vue": false,
"Flash": false,
"Cookies": false
}
}
}
}
app/assets/javascripts/activities.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign, class-methods-use-this */
/* eslint-disable no-param-reassign, class-methods-use-this */
/* global Pager, Cookies */
/* global Pager */
/* global Cookies */
((global) => {
((global) => {
class Activities {
class Activities {
...
...
app/assets/javascripts/cycle_analytics/components/stage_code_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_issue_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_plan_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_production_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_review_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_staging_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/stage_test_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
((global) => {
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics = global.cycleAnalytics || {};
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js.es6
View file @
bd0017c6
/* global Vue */
/* global Cookies */
/* global Flash */
//= require vue
//= require vue
//= require_tree ./svg
//= require_tree ./svg
//= require_tree .
//= require_tree .
...
...
app/assets/javascripts/environments/components/environment.js.es6
View file @
bd0017c6
/* eslint-disable no-param-reassign */
/* global Vue */
/* global EnvironmentsService */
//= require vue
//= require vue
//= require vue-resource
//= require vue-resource
//= require_tree ../services/
//= require_tree ../services/
//= require ./environment_item
//= require ./environment_item
/* globals Vue, EnvironmentsService */
(() => {
/* eslint-disable no-param-reassign */
(() => { // eslint-disable-line
window.gl = window.gl || {};
window.gl = window.gl || {};
/**
/**
...
...
app/assets/javascripts/environments/components/environment_item.js.es6
View file @
bd0017c6
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
/*= require ./environment_stop */
/*= require ./environment_stop */
/*= require ./environment_rollback */
/*= require ./environment_rollback */
/* globals Vue, timeago */
/* global Vue */
/* global timeago */
(() => {
(() => {
/**
/**
...
...
app/assets/javascripts/logo.js
View file @
bd0017c6
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, padded-blocks */
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, padded-blocks */
/* global Turbolinks */
(
function
()
{
(
function
()
{
Turbolinks
.
enableProgressBar
();
Turbolinks
.
enableProgressBar
();
...
...
app/assets/javascripts/tree.js
View file @
bd0017c6
/* eslint-disable func-names, space-before-function-paren, wrap-iife, max-len, quotes, consistent-return, no-var, one-var, one-var-declaration-per-line, no-else-return, prefer-arrow-callback, padded-blocks, max-len */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, max-len, quotes, consistent-return, no-var, one-var, one-var-declaration-per-line, no-else-return, prefer-arrow-callback, padded-blocks, max-len */
/* global Turbolinks */
(
function
()
{
(
function
()
{
this
.
TreeView
=
(
function
()
{
this
.
TreeView
=
(
function
()
{
function
TreeView
()
{
function
TreeView
()
{
...
...
spec/javascripts/.eslintrc
View file @
bd0017c6
...
@@ -7,5 +7,9 @@
...
@@ -7,5 +7,9 @@
"rules": {
"rules": {
"prefer-arrow-callback": 0,
"prefer-arrow-callback": 0,
"func-names": 0
"func-names": 0
},
"globals": {
"fixture": false,
"spyOnEvent": false
}
}
}
}
spec/javascripts/build_spec.js.es6
View file @
bd0017c6
/* global Build */
/* eslint-disable no-new */
/* eslint-disable no-new */
/* global Build */
/* global Turbolinks */
//= require lib/utils/timeago
//= require lib/utils/timeago
//= require lib/utils/datetime_utility
//= require lib/utils/datetime_utility
//= require build
//= require build
...
...
spec/javascripts/environments/environments_store_spec.js.es6
View file @
bd0017c6
/* global environmentsList */
//= require vue
//= require vue
//= require environments/stores/environments_store
//= require environments/stores/environments_store
//= require ./mock_data
//= require ./mock_data
/* globals environmentsList */
(() => {
(() => {
beforeEach(() => {
beforeEach(() => {
gl.environmentsList.EnvironmentsStore.create();
gl.environmentsList.EnvironmentsStore.create();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment