Update eslint-config-babel to the latest version 🚀 (#273)
* chore(package): update eslint-config-babel to version 4.0.0 https://greenkeeper.io/ * Fix prefer-const * Update package.json
This commit is contained in:
committed by
Daniel Tschinder
parent
cd9aaf2a58
commit
6773279039
@@ -31,8 +31,8 @@ export const defaultOptions: {
|
||||
// Interpret and default an options object
|
||||
|
||||
export function getOptions(opts?: Object): Object {
|
||||
let options = {};
|
||||
for (let key in defaultOptions) {
|
||||
const options = {};
|
||||
for (const key in defaultOptions) {
|
||||
options[key] = opts && key in opts ? opts[key] : defaultOptions[key];
|
||||
}
|
||||
return options;
|
||||
|
||||
Reference in New Issue
Block a user