Commit graph

8 commits

Author SHA1 Message Date
Umherirrender d29dfaf188 build: Remove syntax option from stylelint
Error: The "syntax" option is no longer available. You should install an
appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option

Change-Id: I43a39d8238143e02e9ba3ba2ee3652a63d3d6921
2022-10-27 00:13:14 +02:00
Umherirrender 2e6744382d build: Use existing eslint also for json linting
Bug: T220036
Change-Id: Ifecdf5dc7d5191ba15bbce3031af9499a181ad0c
2020-09-12 13:55:47 +02:00
libraryupgrader efb62c28a2 build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
* grunt-eslint: 20.1.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: If786c6664f05a9b8d9db26e120ced522fd248422
2020-01-08 04:58:45 +00:00
libraryupgrader 4e11554699 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I9fd2dfd545bc927c3e2049c34ad0a8b218a9011a
2019-08-03 04:41:58 +00:00
Timo Tijhof 20f34321f4 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
2018-04-26 16:51:35 +01:00
Cindy Cicalese 3c36f7452a Update CI files, dir structure, remove inline JS.
Bug:T191546
Bug:T191919
Change-Id: Ia7ed03a98972262d164fd131bcb84994ad279c7f
2018-04-11 17:21:08 +00:00
Umherirrender 6c3100ce67 build: Always exclude vendor and node_modules
Change-Id: I528cddc1630222ceb5710352ff07cf28f54bec6d
2017-11-11 11:37:10 +01:00
Paladox 826c44afc4 Add npm entry point
Change-Id: If89e3c94c49cc4d0f9ca7fa30cbfed772ba58493
2016-06-02 12:07:58 +00:00