This is a weather forecast web application project proposed by Odin Project
If you use NeoVim on LazyVim as editor , you can use the following configurations:
Prerequisites
- Mason.vim
- LSP
- all the eslinters and prettier may be installed by Mason.vim
This project has been created using the standard JS. To use it, add the following to your init.lua file:
require('lspconfig').eslint.setup {
settings = {
validate = "on",
codeAction = {
enable = true,
mode = "all",
},
},
on_attach = function(client, bufnr)
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = bufnr,
callback = function()
vim.cmd("EslintFixAll")
end,
})
end,
}
Run in your terminal in the root directory of this project, the following command:
npm install
And if you don't have vscode-server-languages installed, then: (I recommend installing them globally)
npm i -g vscode-langservers-extracted
- Vanilla Javascript
- HTML
- CSS
- Weather API by Visual Crossing
- Eslint
- Standard JS
- Webpack 5