My feelings about Go after spending a weekend together

https://twitter.com/david_szabo97/status/1361596761647820802 TLDR; I had a great weekend following the Learn Go with Tests online book. I spent about 15 hours going through the book and firing up a few practice projects. I know it's not a lot to conclude, but I had enough experience with other languages to find the pros and cons of the … Continue reading My feelings about Go after spending a weekend together

JavaScript index-naming-hell, what is it and how to avoid it

I used to fall into the same trap... Look at all those index files This is how it looks like in the explorer This works great and in practice it's easy to use. You can just do import MyComponent from './components/MyComponent but when you are editing them in your editor it's ugly and takes up … Continue reading JavaScript index-naming-hell, what is it and how to avoid it

Linting markdown files using Node.js

Install dependencies # Yarn yarn add -D markdownlint markdownlint-cli2 # NPM npm install -D markdownlint markdownlint-cli2 Add script to your package.json "lint:md": "markdownlint-cli2 README.md" Feel free to replace README.md with any files/globs that you want to lint Using it with Prettier Install dependencies # Yarn yarn add -D prettier # NPM npm install -D prettier … Continue reading Linting markdown files using Node.js

Linting package.json using Node.js

Install dependencies # Yarn yarn add -D npm-package-json-lint npm-package-json-lint-config-default # NPM npm install -D npm-package-json-lint npm-package-json-lint-config-default Configure npm-package-json-lint by adding it to your package.json "npmpackagejsonlint": { "extends": "npm-package-json-lint-config-default" } Add script to your package.json "lint:package": "npmPkgJsonLint ." Check with Prettier Install dependencies # Yarn yarn add -D prettier # NPM npm install -D prettier Include … Continue reading Linting package.json using Node.js