You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.2 KiB
1.2 KiB
Example Configs for Several Useful Modes
For example configs take a look at the files provided in this repo.
Editorconfig
Official Documentation: https://editorconfig.org/
The file .editorconfig
can be placed somewhere in the directory tree above the files you
want the config to take affect in.
├── .editorconfig ├── org1 │ └── my-app1 │ └──── index.html <- takes affect here └── org2 └── my-app2 └──── index.html <- takes affect here as well
Requirements
(straight-use-package 'editorconfig)
(editorconfig-mode t)
Prettier (JS/TS Code Formatter)
Official Documentation: https://prettier.io/
├── .prettierrc.json ├── org1 │ └── my-app1 │ └──── index.tsx <- takes affect here └── org2 └── my-app2 └──── index.jsx <- takes affect here as well
Requirements
(straight-use-package 'prettier-js)
(add-hook 'web-tide-mode-hook 'prettier-js-mode)