Commit 40608077 authored by winniehell's avatar winniehell

Enable linting for ES6 files

parent e5950e68
/* 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