This project is made to be used with create-next-app to quickly create a new project with my main libraries installed and configured. These libraries are:
npx create-next-app -e https://github.com/vuldin/with-core-libs new-project
prettier
and stylelint
work best in VSCode with their related extensions installed.
code --install-extension esbenp.prettier-vscode
code --install-extension stylelint.vscode-stylelint
Make the following updates in your VSCode settings.json
:
{
"css.validate": false,
"stylelint.enable": true
}
Getting these libraries to all work with each other was not as simple as I hoped. Getting nextjs and d3 to work together was especially problematic due to them handling ES modules differently. Here are links to more information on this and other areas to consider for future dependency upgrades or refactors: