All Projects → editorconfig → editorconfig-defaults

editorconfig / editorconfig-defaults

Licence: other
No description or website provided.

Projects that are alternatives of or similar to editorconfig-defaults

eslint-plugin-editorconfig
An ESLint plugin to enforce EditorConfig rules
Stars: ✭ 22 (+4.76%)
Mutual labels:  editorconfig
Editorconfig Sublime
Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
Stars: ✭ 1,749 (+8228.57%)
Mutual labels:  editorconfig
pwa
An opinionated progressive web app boilerplate
Stars: ✭ 355 (+1590.48%)
Mutual labels:  editorconfig
scala-basic-skeleton
Starting point if you want to bootstrap a project in Scala
Stars: ✭ 16 (-23.81%)
Mutual labels:  editorconfig
happy-web
Project built during Rocketseat's Next Level Week #3
Stars: ✭ 19 (-9.52%)
Mutual labels:  editorconfig
editorconfig-gradle-plugin
A Gradle plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations
Stars: ✭ 40 (+90.48%)
Mutual labels:  editorconfig
editorconfig-templates
📝 A collection of useful .editorconfig templates
Stars: ✭ 19 (-9.52%)
Mutual labels:  editorconfig
Friendly Code Editor
Try this Friendly Code Editor. You'll love it. I made it with a lot of effort. It has some great features. I will update it adequately later. Very helpful for developers. Enjoy and share.
Stars: ✭ 20 (-4.76%)
Mutual labels:  editorconfig
awesome-react-app
Always the latest version of "create-react-app" with awesome configurations (lint, commit lint, husk, editor config, etc)
Stars: ✭ 44 (+109.52%)
Mutual labels:  editorconfig
Shangchao-Website
(官网案例) - 上朝科技 - Vue 2.0 - SPA项目
Stars: ✭ 22 (+4.76%)
Mutual labels:  editorconfig
generator-node
🔧 Yeoman generator for Node projects.
Stars: ✭ 16 (-23.81%)
Mutual labels:  editorconfig
ace-mode-solidity
Ace ( https://ace.c9.io/ ) Edit Mode for Ethereum's Solidity language ( https://solidity.readthedocs.io/en/latest/ ).
Stars: ✭ 25 (+19.05%)
Mutual labels:  editorconfig
node-lintspaces
A validator for checking different kinds of whitespaces in your files.
Stars: ✭ 31 (+47.62%)
Mutual labels:  editorconfig
code-guide
Code Guidelines : Moved to https://linianhui.github.io/code-guide/
Stars: ✭ 62 (+195.24%)
Mutual labels:  editorconfig
view-admin-as
View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.
Stars: ✭ 44 (+109.52%)
Mutual labels:  defaults
figma-plugin-typescript-boilerplate
Figma plugin TypeScript boilerplate to start developing right away
Stars: ✭ 43 (+104.76%)
Mutual labels:  editorconfig
Editorconfig Vim
EditorConfig plugin for Vim
Stars: ✭ 2,739 (+12942.86%)
Mutual labels:  editorconfig
fe-standard-config-seed
前端通用代码规范自动化接入
Stars: ✭ 18 (-14.29%)
Mutual labels:  editorconfig
EditorConfig-Action
🔎A GitHub Action to check, enforce & fix EditorConfig style violations
Stars: ✭ 40 (+90.48%)
Mutual labels:  editorconfig
editorconfig-vscode
EditorConfig extension for Visual Studio Code
Stars: ✭ 1,098 (+5128.57%)
Mutual labels:  editorconfig

EditorConfig Defaults

Description of the file format

{
  "file_format": "1.0",
  "version":"0.1.0",
  "matches": {
    "<<matcher>>": {
      "description": "<<description>>",
      "comment": "<<comment>>",
      "flavors": {
        "<<flavor>>": {
          "description": "<<description>>",
          "comment": "<<comment>>",
          "reference": "<<reference>>",
          "editorconfig": {
            "<<setting>>": "<<value>>"
          }
        }
      }
    }
  }
}

Where

  • matcher stands for the default files-glob the section defines; the format should allow to use it to filter the defaults based on a list of files. This is what goes between [ and ] in the editorconfig-file.
  • flavors stands for the given flavor name; it should be used to let the user choose the preferred style; the using tool might omit showing it if there is only one flavor (f.e. common or convention) for the section.
  • setting and value are the editorconfig-settings for that flavor; they should be used to populate the editorconfig-file. value can be a string, boolean or int value.
  • description contains the plain-text description of that flavor; it should be used as an introductory description of the flavor.
  • reference is the reference to the source of the flavor; it should a URL that leads to a authoritative description of the flavor.
  • comment can be placed within a <<matcher>> and <<flavor>> and is an optional string.

Linting

To perform all the checks that are available:

npm install
npm run lint

To validate the JSON without node, there are several sites available like https://www.jsonschemavalidator.net/ and https://jsonschemalint.com/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].