eslint-config-ydj usage $ npm install eslint-config-ydj add .eslintrc file in your project copy this code to your .eslintrc file { "root": true, "extends": "ydj", "env": { "browser": true }, "rules": { } } and then enjoy yourself