Commit graph

18 commits

Author SHA1 Message Date
Eric Mc Sween
ed7b5a9450 Merge pull request #2218 from overleaf/as-eslint-globals
Move around eslint globals

GitOrigin-RevId: 81144a0b763159b9425aff673211c07ec65b3be5
2019-10-14 13:37:42 +00:00
Alasdair Smith
c5da705fa0 Use babel-eslint for parsing (#2073)
Eslint's default parser cannot handle some newer es6+ syntax (e.g.
dynamic import() function). Babel-eslint uses babel for parsing instead
which can handle the newer syntax

GitOrigin-RevId: 0a5666ac3bdc3c0885842dcdbc6f6d3b4dbf2d4b
2019-08-19 15:20:06 +00:00
Eric Mc Sween
29dec409d6 Merge pull request #2072 from overleaf/as-fix-local-lint
Fix linting locally

GitOrigin-RevId: eeb6dab09f3e3f7208ea104e7ceecd3d0e29564b
2019-08-13 12:50:05 +00:00
Alasdair Smith
c8140f9641 Merge pull request #2059 from overleaf/spd-no-console
Don't allow 'console.log' in backend code

GitOrigin-RevId: f52413b574487eef54e8bd27cc61d15a011beb6f
2019-08-09 09:54:16 +00:00
Simon Detheridge
7588393580 Merge pull request #2047 from overleaf/spd-eslint-mocha-arrows
Enforce consistent callback style in mocha tests

GitOrigin-RevId: a64c293dae6926ef5831abe97eaf2044942a5c85
2019-08-07 15:29:25 +00:00
Eric Mc Sween
bebd0f25e6 Merge pull request #1824 from overleaf/as-remove-max-len-rule
Remove unnecessary max-len rule

GitOrigin-RevId: 10ad77498e51022c8d9ab7eb7a5633b90395c692
2019-05-30 12:40:37 +00:00
Timothée Alby
b86a949f50 Merge pull request #1485 from sharelatex/cmg-comments-track-changes
Add comments highlighting to rich text track changes

GitOrigin-RevId: 7f81490417cc228db5f6f687c309a4e39c0b25d5
2019-03-11 11:08:10 +00:00
Chrystal Maria Griffiths
d9692b7f91 Merge pull request #1168 from sharelatex/cmg-range-prototype
Rich text track changes pt. 1 view changes

GitOrigin-RevId: a50ba1491a46525894b32b87a8c05be0af90084d
2019-01-30 14:07:06 +00:00
Shane Kilkelly
126edeb4bb Merge pull request #1396 from sharelatex/as-cleanup-eslint
Cleanup some unused eslint config

GitOrigin-RevId: 6579ad615188ea32a8817964bf95c5c9b121faef
2019-01-17 10:11:46 +00:00
Chrystal Maria Griffiths
f1c8dcdf1e Merge pull request #1127 from sharelatex/as-keep-tags-archive
Keep tags when archiving project

GitOrigin-RevId: 40b23895ef27a69500194cfc149a236ae615f271
2018-11-13 10:54:18 +00:00
Alasdair Smith
659242b457 Merge pull request #1037 from sharelatex/as-decaffeinate
Decaffeinate frontend

GitOrigin-RevId: 1c8c53dedecfe55f9936a13408df17b852f996de
2018-11-05 10:19:25 +00:00
Simon Detheridge
8a6b7df071 Merge pull request #1080 from sharelatex/as-fix-linting
Fix linting not running on modules

GitOrigin-RevId: 12a27fc9e1c9b41202e04b6272e5b42289603f3a
2018-10-30 10:16:29 +00:00
Alasdair Smith
2453e55ebb Remove eslint loader
After using the webpack set up a bit more, having linting block compiles in
dev is more annoying than helpful. Linting pre commit is more valuable
2018-03-06 11:18:40 +00:00
Alasdair Smith
87a0942b3c Copy paste LatexMode tests from v1 and switch assertions to chai 2018-03-02 10:43:56 +00:00
Alasdair Smith
7ea164ef77 Add max line length rule, defaults to 80 chars 2018-02-28 12:15:53 +00:00
Alasdair Smith
6f58c60026 Configure eslint to be more friendly to chai assertions 2018-02-28 12:15:53 +00:00
Alasdair Smith
4524b3c9f6 Use mocha environment and expect global to fix linting in tests 2018-02-27 11:34:02 +00:00
Alasdair Smith
24ddb46b95 Configure eslint 2018-02-23 11:25:01 +00:00