how to enable eslint in vscode globally code example
Example 1: setup eslint vscode local project
npm i eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react -g
Example 2: eslint download vscode terminal command
npm install eslint --save-dev