Enforcing Your Design System with ESLint (⚡️)
summary
Demo shows actual ESLint rules and a published plugin that flag violations in real code and editors, not just theory. Uses ESLint + AST Explorer to implement rules that prevent using colors outside of your design system palette, forbid raw Text and legacy Button imports in favor of design system components, and enforce component patterns under pages or screens directories. Output appears as editor warnings/errors and a configurable npm plugin that runs in CI.
AI-written summary · about
chapters (7)
related talks
14mGetting Started with JavaScript Linter | What Is Linter?
29mCustom ESLint Rules with Angular Schematics
25mWrite Perfect Code with Standard and ESLint
35mYou Could Lint More
49mESLint — more than just "extend"
28mSetting Up ESLint and TypeScript for React
24mStatic Analysis: Don't Fear the Linter!
31mDevelopment Standards: A Step-by-Step Guide to Implementing Them Without Pain
