It is just a simple styleguide, so If you prefer indentation with tabs and if you would like to contribute to the project, be free.
npm install -D eslint eslint-plugin-import eslint-plugin-react
npm install -D eslint-config-eiskaffee
Create the file .eslintrc.
{
"extends": "eiskaffee"
}Create this command in your package.json to fix automatically litte bugs like breaklines and convert quotes.
"scripts": {
"esfix": "./node_modules/.bin/eslint --fix \"**/*.{js,jsx}\" || ECHO."
}npm run esfix
You have to install ESLint Extension into VS Code first.
If you've been using VS Code, try this config below in your vscode-settings. It should be fix your code from the ESLint config.
If you know how to configure it in another editors, just contribute with this project ;)
"eslint.autoFixOnSave": true