Giter Site home page Giter Site logo

editorconfig's Introduction

.editorconfig templates and generator

This is a collection of .editorconfig templates.

Generator

The generator is a script to merge root config file and some config files for specific file type.

root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
indent_size = 4

[*.html]
indent_style = space
indent_size = 2

[*.{css,sass,scss}]
indent_style = space
indent_size = 2

[*.{js,ts}]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2

[*.{yml,yaml}]
indent_style = space
indent_size = 2

For example, this is for web development includes root + html + css + javascript + files for config.

http://kanonji.info/editorconfig?key=web

The generator is running here above.

http://kanonji.info/editorconfig?key=web&download=1

Download it as .editorconfig file name.

$ curl -LOJ "http://kanonji.info/editorconfig?key=web&download=1"

The key can be file name before .editorconfig in this repos or defined as $configFileMap in https://github.com/kanonji/editorconfig/blob/master/index.php

editorconfig's People

Contributors

kanonji avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.