Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use automatic code style enforcement #1206
Type of issue
Files are linted but corrections are not automatically enforced / not fixable with the current configuration of ESLint.
Automatically transform code to match the code styling rules. Helps a lot with productivity and consistency: unused variables are removed, lines wider than 80 characters are wrapped, all indentation is done automatically, etc. I'm thinking of configuring this tool https://github.com/prettier/prettier with the existing ESLint config. It's the "JS version of gofmt", if someone's familiar with that.
Interested on what you think about that!