I Built a Linter for Human bugs, Then I Ran It on Eventyay

Devcon 8 · 5 Nov 2026 · 4:52

Deepak Koul presents CognitiveLint, an open-source static analysis tool for React that scans code for patterns that cause cognitive friction in user interfaces, scored against UX heuristics: cognitive load, trust, feedback, discoverability, consistency and error prevention. A hostable CI server tracks UX scores over time and a Vue.js scanner is in the works. Koul ran it on the Eventyay website used for the Open Tech Summit call for proposals, filed issues and saw them fixed.

Speakers

Topics

From Devcon 8, hosted by Ethereum Foundation.

Transcript

[music] [music] >> So, I'm here to talk about cognitive lint which is static. How many how many of you know what static analysis of code is? So, we have linters for normal errors. We have linters for accessibility. We have linters for static application security testing SAST like Sonar Cube and everything. But we never had so far linters for user experience.

So, my team and I thought why not experiment because we have AI. We don't need to spend our time. So, cognitive lint is what we came up with. So, cognitive lint solves the cognitive friction problem. A user coming to your application and spending too much cognitive energy or mental load on a decision like should I click here? I see a list of items. Who owns these list of items? Is it me or is it any other user from my organization? Stuff like that. Think about a scenario. You you just landed in an airport.

You had a lot of coffee. It was a long flight and you were an introvert like me who don't like to use airplane lavatories. And now you are at the airport and you see this sign. And you really want to pee but the sign itself is not helping you, right? This is a classic example of cognitive overload. For someone who is in distress the idea is to make things simpler for them. If someone comes to your website to file a case against your product, the idea is to make filing that case easier for them.

If someone wants to uh delete something, maybe maybe a case from a list of cases, a ticket from a list of tickets, the idea is that they should not accidentally delete it, right? Just hit the mouse and the thing is gone. Now there is no way to recover that. So all these things put together form the heuristics of user experience and we thought that there is a good standard way of doing static [snorts] analysis for these heuristics.

[sighs and gasps] So as I said, there are human-centered UX principles. What we do in the first iteration of cognitive is scan the React codebase. We do rule matching and we come up with issues in your codebase that you can fix, which would eventually become UX issues when the application is running. What in current version we also have is hostable CI server. So if you run cognitive as a GitHub action and then you want to see the trend of the scores of UX of your application through through some

period of time, you can also do that. So these are the heuristics I was talking about. So there is cognitive load, there is trust, feedback, discoverability, consistency, and error prevention. And we also had a vue.js scanner in the works which I ran against the Eventia website that hosts the [snorts] FOSS Asia and this particular Open Tech Summit CFP.

I found issues and I filed them and they were fixed by the kind developers. I I also I also filed issues internally where I worked and they were also fixed. So, what I'm trying to prove is that it really works. So, if you want to try, go to cognitive lint dot github dot io. I think this is the address. Yeah.

And you can you can look at the repository and try it and get in touch with us, any of us, any of the developers on the repo and suggest the improvements, suggest other UI frameworks that we can tackle. Thank you. >> [music]

Related talks