Search

Nalezeno "linting": 8

Writing Your Own Code Rules


There comes a time on a project when it’s worth investing in tooling to protect the codebase. I’m not sure how to articulate when, but it’s somewhere after the project has proven to be something long-term and rough edges … The post Writing Your Own Code Rules appeared first...

MDN on GitHub


Looks like all the content of MDN is on GitHub now. That’s pretty rad. That’s been the public plan for a while. Chris Mills: We will be using GitHub’s contribution tools and features, essentially moving MDN from a Wiki model to a pull request (PR) model. This is so much better...

In-Browser Performance Linting With Feature Policies


Here’s a neat idea from Tim Kadlec. He uses the Modheader extension to toggle custom headers in his browser. It also lets him see when images are too big and need to be optimized in some way. This is a great way to catch issues like this in a local environment because browsers will throw an error...

Getting Started with Front End Testing


Amy Kapernick covers four types of testing that front-end devs could and should be doing: Linting (There's ESLint for JavaScript and Stylelint or Prettier for CSS.) Accessibility Testing (Amy recommends pa11y, and we've covered Axe.) Visual Regression Testing (Amy recommends Backstop, and we've...

How I Learned to Stop Worrying and Love Git Hooks


The merits of Git as a version control system are difficult to contest, but while Git will do a superb job in keeping track of the commits you and your teammates have made to a repository, it will not, in itself, guarantee the quality of those commits. Git will not stop you from committing code...

In Search of a Stack That Monitors the Quality and Complexity of CSS


Many developers write about how to maintain a CSS codebase, yet not a lot of them write about how they measure the quality of that codebase. Sure, we have excellent linters like StyleLint and CSSLint, but they only help at preventing mistakes at a micro level. Using a wrong color notation, adding...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace