Go to file
Ryan Shaw ac0860c4df eslint public/js with same rules as app/jsx
Closes: CNVS-36236

We now treat code in public/javascripts
exactly the same as app/jsx. Since we pass
it all to babel we can lint with the same rules
as we do app/jsx and you can use all the modern
syntax/features/babel goodness there. There is literally
no excuse to write old crapy javascript anymore.

Now we can start adding some commits that eslint -fix all the existing
stuff in public javscripts.

Test plan:
* if you run eslint public/javascripts/instructure.js it should
  give you a bunch of warnings about converting things from var
  to let/const and other stuff like that. 

Change-Id: I5d400b958ae33f3f13f7f6a9c3505a4f7b5843db
Reviewed-on: https://gerrit.instructure.com/112146
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2017-05-19 18:29:09 +00:00
Gemfile.d build SAML metadata via SAML2 gem 2017-05-15 17:19:59 +00:00
app remove jQueryUI Accordion from common bundle 2017-05-19 18:28:01 +00:00
bin copyright linter auto correct, refs SD-2295 2017-05-11 20:06:08 +00:00
build Rename docker-compose.test.yml 2017-05-17 18:51:53 +00:00
client_apps get jquery and jquery.cookie from npm, not vendor 2017-05-08 20:47:23 +00:00
config Remove all code around the old Attendence page 2017-05-19 15:26:14 +00:00
db/migrate add current_line and total_lines to account_reports 2017-05-17 19:34:01 +00:00
doc Optionally configure live events via Consul 2017-05-10 16:07:41 +00:00
docker-compose Optionally configure live events via Consul 2017-05-10 16:07:41 +00:00
frontend_build Turn on babel for all of public/javascripts 2017-05-19 18:28:41 +00:00
gems include course group_membership data in sub accounts 2017-05-19 17:22:04 +00:00
lib add cell styles to gradebook 2017-05-19 16:25:07 +00:00
public eslint public/js with same rules as app/jsx 2017-05-19 18:29:09 +00:00
script rm …/vendor/{timezone,ie11-polyfill,fontface} 2017-05-19 18:21:14 +00:00
spec remove jQueryUI Accordion from common bundle 2017-05-19 18:28:01 +00:00
.babelrc Strip out react propTypes in prod webpack build 2017-03-13 23:04:17 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore fix incorrect .dockerignore of translations/_core_en.js 2016-12-15 18:39:27 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore Don’t eslintignore public/js/vendor because we modified code in there 2017-04-11 16:31:48 +00:00
.eslintrc.js eslint public/js with same rules as app/jsx 2017-05-19 18:29:09 +00:00
.gitignore Remove RequireJS support 2017-03-13 22:10:23 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc bump node version to v6.9.5 (latest LTS) 2017-02-09 22:31:33 +00:00
.rubocop.yml spec: de-dup spec descriptions, fixes SD-2181 2017-03-03 22:52:02 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc stylelint, refs SD-1603 2016-10-25 00:21:16 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Update contributing guidelines with linter information 2017-01-23 16:24:52 +00:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile don't do an extra yarn install in docker land 2017-05-16 18:53:35 +00:00
Gemfile remove rails 4.0 support 2016-10-25 17:17:22 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
bower.json use node_modules wherever possible 2016-11-01 15:14:52 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
docker-compose.jenkins.yml Rename docker-compose.test.yml 2017-05-17 18:51:53 +00:00
docker-compose.override.yml Replace guard with webpack in docker-compose file 2017-03-13 16:02:19 +00:00
docker-compose.yml add i18n sorting dependencies to docker 2017-02-21 18:24:56 +00:00
gulpfile.js rm …/vendor/{timezone,ie11-polyfill,fontface} 2017-05-19 18:21:14 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js Remove RequireJS support 2017-03-13 22:10:23 +00:00
package.json rm …/vendor/{timezone,ie11-polyfill,fontface} 2017-05-19 18:21:14 +00:00
webpack.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.production.config.js parallelize the uglify step of webpack prod build 2017-02-06 16:10:37 +00:00
webpack.test.config.js revert es6 modules in public/javascripts to amd 2017-04-06 15:43:15 +00:00
yarn.lock rm …/vendor/{timezone,ie11-polyfill,fontface} 2017-05-19 18:21:14 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.