Logo
    Search

    eslint

    Explore "eslint" with insightful episodes like "Supper Club × ESLint with Nicholas Zakas", "Hasty Treat - Code Quality Tooling Part 2", "Hasty Treat - Code Quality Tooling" and "Hasty Treat - Tidying Up Code #MarieKondo" from podcasts like ""Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (4)

    Supper Club × ESLint with Nicholas Zakas

    Supper Club × ESLint with Nicholas Zakas

    In this supper club episode of Syntax, Wes and Scott talk with Nicholas Zakas about his creation of ESLint, what’s coming up in ESLint, and his work as a coach and mentor for programmers.

    Show Notes

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    Hasty Treat - Code Quality Tooling Part 2

    Hasty Treat - Code Quality Tooling Part 2

    In this Hasty Treat, Scott and Wes continue their discussion about code quality tooling - how to get your code extra nice and clean, and the tools that will help you along the way.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session replayer and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

    Show Notes

    2:28

    • Typescript and Types

    5:42

    • Jest and Testing

    7:48

    • Exceptions & Error Tracking

    Links

    Tweet us your tasty treats!

    Hasty Treat - Code Quality Tooling

    Hasty Treat - Code Quality Tooling

    In this Hasty Treat, Scott and Wes talk about code quality tooling - how to get your code extra nice and clean, and the tools that will help you along the way.

    Sentry - Sponsor

    If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”.

    Show Notes

    3:11 - ESLint / JSHint / Linters in general

    • Eslint took over as a flexible solution for code style and quality
    • Use plugins and presets to set your rules for different types of project
    • Don’t be afraid to tweak rules, they are not the word of god

    10:55 - Prettier

    • Strictly formatting
    • Can work with or without ESLint
    • Provides an enforceable standard for teams
    • Configurable
    • Prettier for CSS, PHP, GraphQL, etc.

    18:46 - VS Code

    • Red underlines like spellcheck for code
    • Tooltip for lint errors
    • Fix on save vs fix on command

    Links

    Tweet us your tasty treats!

    Hasty Treat - Tidying Up Code #MarieKondo

    Hasty Treat - Tidying Up Code #MarieKondo

    In this Hasty Treat, Scott and Wes talk about tidying up your code - why it’s important and how it can make your (dev) life better.

    Sentry - Sponsor

    If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”.

    Show Notes

    3:24 - Removal

    • Unneeded comments
    • Unused CSS
    • Unused Functions

    8:06 - Organizing

    • A system that works for you
    • Know when to break things out into a new file, components, functions otherwise
    • Index file works sometimes - other times it’s too much work

    11:45 - Tiding Up

    • Refactoring bad/old code
    • Non-ironically, does this code spark joy?
    • Unused Functions
    • Add in comments
    • Folding - use a code formatter
    • CSS

    Links

    Tweet us your tasty treats!