112 Commits

Author SHA1 Message Date
Robert Raposa
399be67fc4 style: remove eslint with frontend code removal ADR
- Add ADR for frontend code removal
- Drop eslint, as explained in the ADR
2025-03-20 11:03:41 -04:00
Kyle McCormick
cd24534653 build: run ShellCheck in CI (#31809)
build: run ShellCheck

Adds a ShellCheck check to edx-platform PRs and master,
using the shared workflow & template from the .github repo.
This will become a "required" check once it passes for 2 straight weeks on master.

Brings all existing shell scripts into compliance with ShellCheck.
2023-03-10 16:10:56 +00:00
Zubair Shakoor
141d6d4ce6 refactor: remove all paver code related to python unit tests (#31180) 2023-01-18 17:41:56 +05:00
Jesse Zoldak
31eeb16081 Shard the quality tasks on jenkins 2018-02-09 14:58:52 -05:00
Eric Fischer
8ec97371bd drop eslint limit 2017-12-08 14:39:01 -05:00
Sofiya Semenova
a1f0679f3a Educator 1552 - Implement roving tabindex for WYSIWYG editor for discussions 2017-12-08 11:18:11 -05:00
Calen Pennington
bcd66c5135 Lower pylint threshold to just above what it is on master 2017-12-06 10:03:48 -05:00
Calen Pennington
8c35e3d827 Run pylint like pep8, rather than through diff-lint 2017-12-01 21:39:49 -05:00
John Eskew
c78ccf8fc1 Fix the systems parsing code for pylint.
Add lower pylint error threshold to guard against unsuccessful runs.
Increase upper pylint threshold. Add tests for pylint option parsing.
2017-11-18 10:50:20 -05:00
Andy Armstrong
268bea9e62 Make the course content page responsive
LEARNER-2754
2017-11-01 17:34:04 -04:00
Andy Armstrong
ae1c760ea4 Use Bootstrap theme colors and fonts in old stylesheets
LEARNER-2977

Fixes
2017-10-29 22:22:08 -04:00
Andy Armstrong
bd1a0d96cf More Sass quality fixes 2017-10-16 12:41:20 -04:00
Andy Armstrong
9f0fba0a8e Sass quality fixes in the LMS 2017-10-11 13:45:08 -04:00
Diana Huang
cbfea6515d Add new info message to profile page. 2017-09-21 10:19:40 -04:00
Andy Armstrong
8fb993dcca Fix validation issues with Studio Sass files 2017-09-18 15:28:41 -04:00
Andy Armstrong
3bb6316620 Fix Sass quality issues in lms/static/sass/features
Sass fixes
2017-09-11 22:03:00 -04:00
Andy Armstrong
e5cab61897 Lint Sass files using the rules in stylelint-config-edx
Fixes
2017-09-11 22:02:59 -04:00
cahrens
e1e57b5d09 Convert course list to React.
EDUCATOR-625, AC-620
2017-08-09 15:09:37 -04:00
Andy Armstrong
33bee3f70b Refactor learner profile into openedx/features directory
LEARNER-1855
2017-07-18 12:30:12 -04:00
Robert Raposa
b370fe2314 Part II: Rename xss linter. 2017-06-30 13:20:23 -04:00
Ben Patterson
9d4d445d2b upping eslint violation count since a merged commit didn't know about it. 2017-03-21 19:27:02 -04:00
Brian Jacobel
d41076cb1d Upgrade eslint packages 2017-03-20 15:46:39 -04:00
Eric Fischer
518be32c22 Bump pylint threshold back up 2016-10-25 13:51:17 -04:00
Jesse Zoldak
6afe026a4c Adjust lint thresholds 2016-10-19 11:11:42 -04:00
Brian Jacobel
cc857c6b32 Lower ESLint thresholds post-autofix 2016-08-09 12:24:22 -04:00
Brian Jacobel
a32fd27d60 Replace JSHint ignore directives with ESLint ones 2016-08-04 16:22:59 -04:00
Ned Batchelder
b4e2af3aae Lower the pylint threshold 2016-08-03 12:45:24 -04:00
Brian Jacobel
017dbffd5e Remove ESLint from build scripts and script tests 2016-08-02 10:15:53 -04:00
Brian Jacobel
af76273393 Install and configure eslint and eslint-config-edx (alongside JSHint for now) 2016-07-29 13:27:55 -04:00
Robert Raposa
143a22fb9f Enhance Jenkins integration of safe templates take 2
- Handle case when no files are linted
- Skip deleted files for safe commit script
- Add verbose options for safe commit
2016-05-13 09:59:23 -04:00
Robert Raposa
5ea529ae39 Revert: Enhance Jenkins integration of safe template linting 2016-05-11 09:56:23 -04:00
Robert Raposa
afdec6a99b Enhance Jenkins integration of safe template linting
- Add rule based thresholds
- Add safecommit to Jenkins
2016-05-10 15:50:45 -04:00
Jesse Zoldak
d7e9db66c9 Lower the jshint threshold to 7550 2016-05-06 09:56:23 -04:00
Robert Raposa
374dcb3264 Add Python linting 2016-04-27 17:40:30 -04:00
Robert Raposa
ec442789c0 Add Jenkins support for Safe Templates Linter 2016-04-26 12:36:25 -04:00
Ned Batchelder
fac216c35b Lower the overall pylint count to 4175 2016-04-08 12:05:38 -04:00
Ned Batchelder
756941524c Update to latest edx-lint 2015-12-18 20:56:07 -05:00
Sarina Canelake
96ddf544ff Remove Pylint violations 2015-12-17 16:29:28 -05:00
Ned Batchelder
0632240331 Pylint count is below 5000 2015-12-14 09:18:29 -05:00
Sarina Canelake
edf6730ca0 Pylint fixes to symmath module 2015-12-08 22:56:28 -05:00
Ned Batchelder
0872732cf0 Fix pylint C7630 (literal used as attribute) violations
There's no need to use a string literal in setattr, delattr, or the
two-argument form of getattr.
2015-11-23 15:32:54 -05:00
Chris Rodriguez
d1efc3fed1 Updating JSHint threshold 2015-11-19 14:58:05 -05:00
Christine Lytwynec
9aa1f2b73f use .jshintignore instead of hardcoded directory list 2015-11-13 16:19:02 -05:00
Ned Batchelder
1f093eccfb Use 0.3.2 of edx-lint, with pylint-django and C extensions read 2015-11-03 16:22:40 -05:00
Ned Batchelder
f47a53eb66 Update edx-lint to 0.2.6
This gets us checking for tests inheriting from other tests.  When that
happens, tests get run more than once, which is pointless.  We have a
few dozen new warnings due to this new check.

This also disables unused-wildcard-import.  That removes a few hundred
warnings.

Together, this means we can reduce the pylint limit to 5999. :)
2015-09-03 18:22:21 -04:00
Ned Batchelder
ff67dff633 Since the path import changes solved pylint issues, decrease the limit. 2015-08-27 13:39:14 -04:00
Ned Batchelder
36a7d1223e Use latest edx-lint. Adds getattr/setattr string literal checking.
There are 80 of these new violations in the tree, so up the lint
threshold also.
2015-08-20 11:45:44 -04:00
Jesse Zoldak
8672455fda Get circleci configuration working for forks 2015-08-05 13:25:30 -04:00
Ned Batchelder
52acdae60c Update pylint and astroid, reduces pylint count by 400 2015-08-03 11:49:54 -04:00
Christine Lytwynec
bb3a281a2b generate diff-coverage report in JS jenkins build 2015-07-30 10:07:00 -04:00