Silence global-require rule in ospec, add ecma 2017 parser to eslintrc for async/await in test-ospec
This commit is contained in:
parent
c5fac4a51e
commit
d4181d17c8
2 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,9 @@ module.exports = {
|
|||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017,
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"rules": {
|
||||
"accessor-pairs": "error",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable no-bitwise, no-process-exit */
|
||||
/* eslint-disable global-require, no-bitwise, no-process-exit */
|
||||
"use strict"
|
||||
|
||||
module.exports = new function init(name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue