© 2023 Hashnode
#eslint
npx create-next-app@latest --typescript --eslint --example with-tailwindcss Use the above command to quickly bootstrap a nextjs app with ts, eslint and tailwindcss. If you are using yarn, After running the above command successfully you ne…
You may have seen the term "AST" in multiple contexts without digging into what it actually means. It is a common term in compiler theory, and it is also used in the context of static analysis. In thi…
As your project grows, it also becomes harder to track and control, especially with more developers joining the project. So what can you do? To avoid creating a messy project fuelled by spaghetti code…
Let's dive right into it, lean and mean. The base project 🚀 1) Create your project folder and enter it 2) Run npm init -y 3) Install the following packages: yarn add typescript ts-node ts-node-dev @…
DCI (Data, Context and Interaction) is a programming paradigm that breathes life into the hope that we can someday write maintainable software. This tutorial series will provide both an in-depth expla…
use object destructuring solution: Destructure the Object problem : const action = this.state.action; solution: const {action} = this.state; import A should occur before import of B or function A…
Clean Code Culture Pre-commit and Pre-push hooks are a set of automated commands or scripts that identifies both simple and complicated issues before code submission review. This is so that the code reviewer wouldn't waste time styling or…
Introduction In this article, a WEB application will be created using the latest version of Angular and added the ESLint which analyzes the code statically to find problems with the JavaScript code. P…
Eslint is a tool that identifies and reports syntax errors in Javascript/ECMAScript code. This tool is useful because it helps ensures consistency and minimizes unwanted errors. Eslint can be installe…
Most of you (developers), know Eslint as a VS Code extension for making your code look prettier, generating code suggestions, avoiding bugs, and so on. Yes, Eslint is a great tool to achieve all the above-mentioned functionalities. There is…