Commit graph

6 commits

Author SHA1 Message Date
Ed Sanders cceb09abe8 eslint: Enforce prefer-const
Change-Id: I505dca84d0e864a4ac96c71747f08a062ddc1865
2024-09-25 14:41:23 +01:00
Novem Linguae 2e3004c03e eslint: remove redundant ruleset wikimedia/jsdoc
The ruleset wikimedia/client-es6 already contains
the ruleset wikimedia/jsdoc. So wikimedia/jsdoc
doesn't need to be declared.

Bug: T365047
Change-Id: Ia68d3227b6020ed14660080ae27408a766b88f8a
2024-05-15 18:08:57 +00:00
libraryupgrader 17b410c6ec build: Updating eslint-config-wikimedia to 0.27.0
The following rules are failing and were disabled:
* modules:
  * prefer-const

Change-Id: I318c62b99290c67f0d04d26aad12379c0da0b944
2024-04-20 01:18:40 +00:00
Jon Robson 31bcd72898 Do not use deprecated MobileFrontend library, use Codex
Additionally:
* Begin progress of switching codebase to ES6

Bug: T348807
Change-Id: I22d46f0d0d9f5ace7291f4ddedfc515ef69d0835
2023-12-12 17:24:46 +00:00
Ed Sanders 32eaf729f0 Remove jsduck config
This has never been published, and there is very little public API
to publish. Use stanard jsdoc config in ESLint.

sendThanks doesn't need to return false as the return value is
never used.

Change-Id: I02dd9c83511afa5a6e66faf8e96d240eb2464ce3
2023-11-30 12:01:26 +00:00
Ed Sanders 1daf4bcf2d build: Update eslint config
Change-Id: If0871326eb35f8cb6ef026784cd04fca5754ab59
2022-01-25 22:01:31 +00:00