Webpack indentation

Sort of useless, but if you’re annoyed that Webpack’s output files have re-indented your exquisitely space-indented source files with a tab (no-mixed-spaces-and-tabs!), just set output.sourcePrefix to spaces in your webpack.config.js file.

The main reason I did this was to be able to review the output files in a text editor without triggering thousands of ESLint indentation errors.

eslint-config-airbnb

Will certainly be switching between “extends”: “airbnb” and “extends”: “airbnb-base/legacy” depending on whether a project’s main developer is writing classic JavaScript or ES6. Seems easily forgettable hope this helps me find the setting when I need it. update: Deprecated! post updated with the newer airbnb-base syntax. eslint-config-airbnb