eslint config cli code example
Example 1: eslint-config-standard
npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
Example 2: npx eslint src
yarn lint-fix
npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
yarn lint-fix