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