This website requires JavaScript.
Explore
Help
Register
Sign In
wikimedia
/
mediawiki-extensions-Popups
Watch
1
Star
0
Fork
You've already forked mediawiki-extensions-Popups
0
mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced
2024-11-23 23:24:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f6303d4315
mediawiki-extensions-Popups
/
.eslintrc.json
9 lines
73 B
JSON
Raw
Normal View
History
Unescape
Escape
Remove jshint/jscs, add eslint and stylelint ...with the wikimedia presets. For automatically fixing most of the JS lint problems run grunt eslint:fix Some rules of stylelint were disabled given they cause problems with existing popups code (like no id selectors for example). Change-Id: I2153047c3ddbea50572dd329989088bb20787515
2016-12-16 11:11:54 +00:00
{
Hygiene: limit ESLint inheritance The project ESLint configuration unintentionally inherited unwanted configuration from MediaWiki, which allows global jQuery usage. Cap the project's ESLint hierarchy at the project root. Change-Id: I5177d306feface7fcce0867c624bbcf9e74f19fc
2018-10-05 16:24:24 +00:00
"root"
:
true
,
build: Update eslint-config-wikimedia to 0.10.0 Also enable jquery ruleset. Change-Id: Ie1f43d0335ea2aad1e2dd5d86b775316105c3d90
2019-01-17 22:17:27 +00:00
"extends"
:
[
build: Update linters Also restructure eslint config so that * root files are linted with server rules * src and tests share config Change-Id: Ie4d0731ba9670af7f3e60cdfe3c4e331386b17c6
2023-11-08 12:25:48 +00:00
"wikimedia/server"
build: Update eslint-config-wikimedia to 0.10.0 Also enable jquery ruleset. Change-Id: Ie1f43d0335ea2aad1e2dd5d86b775316105c3d90
2019-01-17 22:17:27 +00:00
]
,
Remove jshint/jscs, add eslint and stylelint ...with the wikimedia presets. For automatically fixing most of the JS lint problems run grunt eslint:fix Some rules of stylelint were disabled given they cause problems with existing popups code (like no id selectors for example). Change-Id: I2153047c3ddbea50572dd329989088bb20787515
2016-12-16 11:11:54 +00:00
"rules"
:
{
}
}
Reference in a new issue
Copy permalink