chore: replace standard with eslint-config-standard and add custom rules (#14636)

* chore: replace standard with eslint-config-standard

This adds support for --cache so linting JS only takes ~1 second and only lints things that changed

It also allows us to add custom linting rules

* chore: add eslint-plugin-mocha and enable the no-exclusive-tests rule

This will block anyone from pushing / merging a `.only` test or describe
This commit is contained in:
Samuel Attard 2018-09-16 03:51:23 +10:00 committed by GitHub
parent 7065093869
commit 6d01952e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 452 additions and 56 deletions

View file

@ -1,4 +1,4 @@
;(function () {
;(function () { // eslint-disable-line
return function (process, require, asarSource) {
const source = process.binding('natives')