yarn install v1.3.2
(node:31331) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π Building fresh packages...
[2/2] β eslint-config-motley
[-/2] β waiting...
[-/2] β waiting...
[-/2] β waiting...
error /Users/.../node_modules/eslint-config-motley: Command failed.
Exit code: 1
Command: lib/postinstall.js
Arguments:
Directory: /Users/.../node_modules/eslint-config-motley
Output:
β οΈ .eslintrc.js already exists;
Make sure that it includes the following for 'eslint-config-motley'
to work as it should:
module.exports = {
extends: 'motley',
env: {
browser: true,
node: true,
jest: true,
}
};
β οΈ .prettierrc already exists;
Make sure that it includes the following for 'eslint-config-motley'
to work as it should:
{
"singleQuote": true,
"trailingComma": "all"
}
β οΈ A 'lint-staged' configuration already exists in package.json.
We won't overwrite it since it may include some of your own customizations.
We would have added the following rules, so check your configuration and modify it if needed:
{
"*.{js,json,graphql,md,css,scss,less,ts}": [
"prettier --write",
"git add"
]
}
/Users/.../node_modules/eslint-config-motley/lib/postinstall.js:69
return resolve();
^