watson-speech
Version:
IBM Watson Speech to Text and Text to Speech SDK for web browsers.
25 lines (24 loc) • 559 B
JavaScript
module.exports = {
parser: 'esprima',
env: {
node: true,
browser: true,
},
globals: {
// we want to enable a limited sub-set of ES6 features
// this library should (partially) work even in IE
// false meaning this code doesn't define it
Promise: false,
DataView: false,
ArrayBuffer: false,
Float32Array: false,
},
plugins: ['prettier'],
extends: ['eslint:recommended', 'prettier'],
rules: {
'no-var': 'off',
'prefer-const': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
},
}