MDL-52127 grunt: be aware of third party paths
authorDan Poltawski <dan@moodle.com>
Fri, 13 May 2016 20:20:21 +0000 (21:20 +0100)
committerDan Poltawski <dan@moodle.com>
Mon, 13 Jun 2016 23:37:29 +0000 (00:37 +0100)
commit30db70abdcde4edf4002240176e65eb2eafcb70d
tree505460644c1634c2cca1b0fa69a49a8fb4c443df
parentbe4b3cc6c7cf10645c899e9795f1428d19d19e5e
MDL-52127 grunt: be aware of third party paths

1) Parse thirdpartylibs.xml and generate an array of third party
file paths to use in grunt tasks
2) In the lint tasks, we filter third party files from being linted
3) We add a new task to generate ignore files - currently for eslint,
but will be potentially useful for other things in the future
4) Remove .eslintignore from source control

Why have the ability to generate a .eslintignore file? For tooling
integration - by having the eslintignore file people can use other
eslint tools without having to just use grunt (e.g. editor
integrations).
.eslintignore [deleted file]
.gitignore
Gruntfile.js
npm-shrinkwrap.json
package.json