Skip to content

Commit

Permalink
build: Updating eslint-config-wikimedia to 0.18.2
Browse files Browse the repository at this point in the history
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: Id9eb1bed158a0a5dc5b4e0df5f71b9a55bdb4502
  • Loading branch information
libraryupgrader committed Mar 7, 2021
1 parent 404e878 commit 79518ac
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 118 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client"
"wikimedia/client",
"wikimedia/mediawiki"
]
}
2 changes: 1 addition & 1 deletion .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>
193 changes: 78 additions & 115 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 79518ac

Please sign in to comment.