Commit Graph
24 Commits
Author SHA1 Message Date
RabsRincon db6626e3e8 Reassign my copyright to Compiler Explorer Authors 2021-07-24 00:51:34 +02:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Partouf 3e932622e1 fixed lint issues 2019-06-05 21:11:24 +02:00
Partouf 6794a4387f add compiler-explorer.com to csp thingymabob 2019-06-05 19:38:13 +02:00
Matt Godbolt 984fbd1d98 Remove final traces of FullStory 2018-07-15 11:43:44 -05:00
RabsRincon 7c18ffe8cf Drop underscore-node in favour of underscore.js
After some suprises about how outdated the node version was compared to
	the main project, it became clear we needed to do something.
	@jaredwy suggested using the main project as there's now nothing
	stopping us from using it after the switch to webpack.

cc @mattgodbolDrop underscore-node in favour of underscore.js
2018-06-15 15:04:55 +02:00
RabsRincon 046ffbdcbd Move Chedy to Authors 2018-03-19 16:26:18 +01:00
RabsRincon 8cb27ab5b9 Add Sentry report
First try. We need to get into the beta instance to see if it works
2018-03-13 21:48:07 +01:00
RabsRincon f9928ebc75 Improve CSP & add some corner case tests 2018-03-12 19:32:17 +01:00
RabsRincon 1cdbcac6cb Enforce CSP
Closes #811
2018-03-01 15:06:10 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 670afd8921 Move to ESLint
Somewhat compilant!
2018-02-13 14:49:07 +01:00
RabsRincon 62e68304e9 Format files 2018-02-07 23:58:21 +01:00
Rubén 0848c3cc98 Remove report uri 2018-02-04 20:25:19 +01:00
Rubén da15294d81 Allow data: as a script source. Bummer 2018-01-25 17:54:04 +01:00
RabsRincon 90768689ce Simplify CSP based on observations 2018-01-24 10:52:57 +01:00
RabsRincon be3d734919 Let users use Google Themes fonts 2018-01-23 11:11:51 +01:00
RabsRincon 5c7f1319c9 Reorder CSP 2018-01-22 00:30:44 +01:00
RabsRincon 0e46a124c1 Fix spacing issues 2018-01-21 18:41:27 +01:00
RabsRincon 7accc29714 Add some more Google stuff to CSP whitelist 2018-01-21 18:20:05 +01:00
RabsRincon 14343f49b6 Allow gstatic thru media CSP 2018-01-21 18:09:40 +01:00
RabsRincon 95fa9d29dd Allow Twitter thru CSP 2018-01-21 18:05:52 +01:00
RabsRincon c61e1c0cd2 Reenable CSP testing in site 2018-01-21 15:16:33 +01:00