Skip to content

My preferred Editorconfig which i use between my projects

License

Notifications You must be signed in to change notification settings

socnik/my-editorconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Editorconfig

Editorconfig icon

My preferred Editorconfig which I use between my projects.

I recommend using this config with my Prettier config. They are fully compatible between themselves.

This config is in the .editorconfig file.

Usage

Stage 0

Download Editorconfig template to your project with degit:

npx degit socnik/my-editorconfig/.editorconfig .editorconfig

Stage 1

Install VSCode extension for Editorconfig integration.

Stage 2a (optional)

Add Editorconfig VSCode extension to workspace recommendations:

// .vscode/extensions.json

{
  "recommendations": [
    // ...
    "editorconfig.editorconfig",
    // ...
  ],
}

Stage 2b (optional)

Add Editorconfig VSCode extension to your Devcontainer:

// .devcontainer/devcontainer.json

{
  // ...
  "customizations": {
    // ...
    "vscode": {
      "extensions": [
        // ...
        "editorconfig.editorconfig",
        // ...
      ],
    },
    // ...
  },
  // ...
}

Stage 3 (optional)

Setup Prettier with my config. If you want to do it, follow the instructions in socnik/my-prettier-config repository.

Stage 4

All ready!

About

My preferred Editorconfig which i use between my projects

Topics

Resources

License

Stars

Watchers

Forks