Skip to content

Commit 1b4d629

Browse files
mnm364noahpresler
authored andcommitted
Fixed ESLint issue with license in js files (#1008)
* testing different comment style * fixed eslint error with license
1 parent 066d4c7 commit 1b4d629

File tree

154 files changed

+307
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+307
-306
lines changed

.eslintrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
module.exports = {
1616
"env": {

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ semesterly_backup/
3131
semesterly/local_settings.py
3232
semesterly/sensitive.py
3333
semesterly-venv/
34+
sensitive.py
3435
ssl.crt
3536
ssl.key
3637
static/bundles/*

misc/server.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
var webpack = require('webpack')
1616
var WebpackDevServer = require('webpack-dev-server')

misc/test_env.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
/* eslint-disable */
1616
import $ from 'jquery';

postcss.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
module.exports = {
1616
plugins: [

semesterly/templates/sw.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515

1616
'use strict';

static/js/course-page.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
document.addEventListener("DOMContentLoaded", function(event) {
1616

static/js/hashids/hashids.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515

1616
/*

static/js/misc/chromenotifications.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
// 'use strict';
1616

static/js/redux/__fixtures__/course_modal_body.fixture.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
/* eslint-disable no-useless-escape */
1616

static/js/redux/__fixtures__/terms_of_service_modal.fixture.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
/* eslint-disable no-useless-escape */
1616

static/js/redux/__fixtures__/user_settings_modal.fixture.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
/* eslint-disable no-useless-escape */
1616

static/js/redux/__test_utils__/local_storage_mock.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
class LocalStorageMock {
1616
constructor() {

static/js/redux/__tests__/modals/course_modal_body.test.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import React from 'react';
1616
import renderer from 'react-test-renderer';

static/js/redux/__tests__/modals/terms_of_service_banner_test.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import React from 'react';
1616
import thunk from 'redux-thunk';

static/js/redux/__tests__/modals/terms_of_service_modal_test.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import React from 'react';
1616
import thunk from 'redux-thunk';

static/js/redux/__tests__/modals/user_settings_modal_test.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import React from 'react';
1616
import thunk from 'redux-thunk';

static/js/redux/actions/calendar_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import ical from 'ical-generator';
1616
import Cookie from 'js-cookie';

static/js/redux/actions/exam_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import fetch from 'isomorphic-fetch';
1616
import Cookie from 'js-cookie';

static/js/redux/actions/modal_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import fetch from 'isomorphic-fetch';
1616
import Cookie from 'js-cookie';

static/js/redux/actions/school_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import { getSchoolInfoEndpoint } from '../constants/endpoints';
1616
import * as ActionTypes from '../constants/actionTypes';

static/js/redux/actions/search_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import fetch from 'isomorphic-fetch';
1616
import { normalize } from 'normalizr';

static/js/redux/actions/timetable_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import fetch from 'isomorphic-fetch';
1616
import Cookie from 'js-cookie';

static/js/redux/actions/user_actions.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
import fetch from 'isomorphic-fetch';
1616
import Cookie from 'js-cookie';

static/js/redux/constants/actionTypes.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
// ALERTS
1616
export const ALERT_CONFLICT = 'ALERT_CONFLICT';

static/js/redux/constants/colours.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
const COLOUR_DATA = [
1616
// red

static/js/redux/constants/constants.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
Copyright (C) 2017 Semester.ly Technologies, LLC
33
44
Semester.ly is free software: you can redistribute it and/or modify
@@ -10,7 +10,7 @@ Semester.ly is distributed in the hope that it will be useful,
1010
but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
GNU General Public License for more details.
13-
**/
13+
*/
1414

1515
export const HALF_HOUR_HEIGHT = 25;
1616
export const MAX_TIMETABLE_NAME_LENGTH = 30; // Length of "This is my fucking timetable!!"

0 commit comments

Comments
 (0)