AndreiRailean / ESLint-Examples

Code examples for a talk on Coding Standards with ESLint given at SydJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint Talk At SydJS

by Andrei Railean

http://twitter.com/andrei_md

Code in branches is meant to be used for demo purposes as a progression of steps a project may go through in adopting ESLint

TODO: expand with more info

Overview

  • Why care about coding standards
  • Effort involved in setting up
  • Using ESLint to help introduce new tech
  • Minimise merge conflicts
  • Automatic code fixes

Demo

  • Step-by-step upgrading to ES6
  • Linting only changed files
  • Adding a pre-commit hook
  • Linting tests and separate config

References

http://eslint.org/

https://www.smashingmagazine.com/2015/09/eslint-the-next-generation-javascript-linter/

https://www.npmjs.com/search?q=eslint

https://github.com/airbnb/javascript

https://www.npmjs.com/package/eslint-plugin-react

About

Code examples for a talk on Coding Standards with ESLint given at SydJS


Languages

Language:JavaScript 100.0%