View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16762Bug reportsOtherpublic2026-11-20 11:49
Reporterollehar Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Summary16762: Linting for JavaScript
Description

How to apply a standard, and which standard.

Suggestion:

  • Use jshint or eslint
  • Use Airbnb standard

https://jshint.com/docs/
https://raw.githubusercontent.com/airbnb/javascript/master/linters/.jshintrc

Same arguments apply as for PSR-12 and PHP CodeSniffer.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

DenisChenu

Activities

DenisChenu

DenisChenu

2020-10-21 08:52

developer   ~60323

Great idea :)

ollehar

ollehar

2020-10-21 10:34

reporter   ~60329

I will test this on questionEditor.js in my branch.

c_schmitz

c_schmitz

2026-11-20 11:49

administrator   ~87810

JavaScript linting is in place now: the code of the new editor is checked with ESLint and Prettier on every push. New JavaScript is written there, so I am closing this issue.

Issue History

Date Modified Username Field Change
2020-10-20 13:45 ollehar New Issue
2020-10-20 13:46 ollehar Description Updated
2020-10-20 13:46 ollehar Description Updated
2020-10-21 08:52 DenisChenu Issue Monitored: DenisChenu
2020-10-21 08:52 DenisChenu Note Added: 60323
2020-10-21 10:34 ollehar Note Added: 60329
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 11:49 c_schmitz Status acknowledged => closed
2026-11-20 11:49 c_schmitz Resolution open => fixed
2026-11-20 11:49 c_schmitz Note Added: 87810
2026-11-20 11:49 c_schmitz Bug heat 6 => 8