mediawiki-extensions-Replac.../package.json
Timo Tijhof 7726ed6a5e build: Simplify linter configs
* eslint: Already excludes node_modules by default.
  https://eslint.org/docs/user-guide/configuring#ignoring

* eslint: Expands directories by default, much faster to
  let ESLint crawl the directories while knowing what to exclude,
  then to let Grunt expand **/** recursively run each file
  individually.
  This makes Grunt run ESLint the same way as one normally
  would from the command line: `eslint .`, except without
  the eslint CLI sub-process.

* eslint: Preserve the exclude for vendor via eslint config
  so that it also works when running ESLint outside Grunt,
  e.g. in IDEs or from the command line with extra options.

* stylelint: Ignores node_modules by default.
  https://stylelint.io/user-guide/node-api/#files

Change-Id: I1a78e9d93e7666c1539bcf4a3bc50306cecf89ba
(cherry picked from commit 20f34321f4)
2018-05-01 19:58:43 +00:00

20 lines
396 B
JSON

{
"private": true,
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.5.0",
"grunt": "1.0.1",
"grunt-banana-checker": "0.6.0",
"grunt-eslint": "20.1.0",
"grunt-jsonlint": "1.1.0",
"grunt-stylelint": "0.9.0",
"stylelint": "8.2.0",
"stylelint-config-wikimedia": "0.4.2"
},
"eslintIgnore": [
"vendor/**"
]
}