- Install
npm i garyget-ec --save-dev
- Create a new file
.eslintrc
, and add the next in the file
{
"extends": "garyget-ec"
}
- You may check your env
{
"extends": "garyget-ec",
"env": {
// document, window and others
"browser": true,
// path, fs and others
"node": true,
// describe, it, test and others
"jest": true
}
}