Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Advanced Node.js Linting with ESLint

Advanced Node.js Linting with ESLint

I gave this talk at EmpireNode in 2016.

Avatar for Jamund Ferguson

Jamund Ferguson

November 07, 2016
Tweet

More Decks by Jamund Ferguson

Other Decks in Technology

Transcript

  1. PATTERN MISMATCH POTENTIAL MISMATCHED PATTERNS ▸ ES6 Classes, Prototypes ▸

    ES6 modules, CommonJS modules, AMD modules ▸ Connect middleware, Koa middleware, Alternatives… ▸ Early return, single in single out ▸ Factory, Singleton, etc. ▸ Lodash, Underscore or other competing modules
  2. ADVANCED LINTING IN NODE.JS USING ESLINT WHAT YOU NEED TO

    REMEMBER ▸ Recognize the patterns used in your code and make sure they’re being applied correctly ▸ Learn ASTs to help you succeed ▸ Apply lint rules that help you enforce best practices ▸ Create and share custom lint rules to scale your impact