Commit 85bd6296 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-linting' into 'master'

Enable linting for ES6 files

## What does this MR do?

Add `.js.es6` to file extensions checked by ESLint.

## What are the relevant issue numbers?

Follows !5445

See merge request !7156
parents 4635b47a 40608077
/* eslint-disable */
(() => { (() => {
const Store = gl.issueBoards.BoardsStore; const Store = gl.issueBoards.BoardsStore;
......
/* eslint-disable */
Vue.filter('due-date', (value) => { Vue.filter('due-date', (value) => {
const date = new Date(value); const date = new Date(value);
return $.datepicker.formatDate('M d, yy', date); return $.datepicker.formatDate('M d, yy', date);
......
/* eslint-disable */
class ListMilestone { class ListMilestone {
constructor (obj) { constructor (obj) {
this.id = obj.id; this.id = obj.id;
......
/* eslint-disable */
(function() { (function() {
$(document).on('todo:toggle', function(e, count) { $(document).on('todo:toggle', function(e, count) {
......
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"eslint": "eslint .", "eslint": "eslint --ext .js,.js.es6 .",
"eslint-fix": "eslint --fix ." "eslint-fix": "eslint --fix --ext .js,.js.es6 ."
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.1.1", "eslint": "^3.1.1",
......
/* eslint-disable */
/*= require sidebar */ /*= require sidebar */
/*= require jquery */ /*= require jquery */
/*= require jquery.cookie */ /*= require jquery.cookie */
......
/* eslint-disable */
/*= require header */ /*= require header */
/*= require lib/utils/text_utility */ /*= require lib/utils/text_utility */
/*= require jquery */ /*= require jquery */
......
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