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
Boxiang Sun
gitlab-ce
Commits
40608077
Commit
40608077
authored
Oct 27, 2016
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable linting for ES6 files
parent
e5950e68
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/boards/components/board_sidebar.js.es6
...assets/javascripts/boards/components/board_sidebar.js.es6
+1
-0
app/assets/javascripts/boards/filters/due_date_filters.js.es6
...assets/javascripts/boards/filters/due_date_filters.js.es6
+1
-0
app/assets/javascripts/boards/models/milestone.js.es6
app/assets/javascripts/boards/models/milestone.js.es6
+1
-0
app/assets/javascripts/header.js
app/assets/javascripts/header.js
+1
-0
package.json
package.json
+2
-2
spec/javascripts/dashboard_spec.js.es6
spec/javascripts/dashboard_spec.js.es6
+1
-0
spec/javascripts/header_spec.js
spec/javascripts/header_spec.js
+1
-0
No files found.
app/assets/javascripts/boards/components/board_sidebar.js.es6
View file @
40608077
/* eslint-disable */
(() => {
const Store = gl.issueBoards.BoardsStore;
...
...
app/assets/javascripts/boards/filters/due_date_filters.js.es6
View file @
40608077
/* eslint-disable */
Vue.filter('due-date', (value) => {
const date = new Date(value);
return $.datepicker.formatDate('M d, yy', date);
...
...
app/assets/javascripts/boards/models/milestone.js.es6
View file @
40608077
/* eslint-disable */
class ListMilestone {
constructor (obj) {
this.id = obj.id;
...
...
app/assets/javascripts/header.js
View file @
40608077
/* eslint-disable */
(
function
()
{
$
(
document
).
on
(
'
todo:toggle
'
,
function
(
e
,
count
)
{
...
...
package.json
View file @
40608077
{
"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
"
,
...
...
spec/javascripts/dashboard_spec.js.es6
View file @
40608077
/* eslint-disable */
/*= require sidebar */
/*= require jquery */
/*= require jquery.cookie */
...
...
spec/javascripts/header_spec.js
View file @
40608077
/* eslint-disable */
/*= require header */
/*= require lib/utils/text_utility */
/*= require jquery */
...
...
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