Core: Adonis make command file indentation

Created on 11 Nov 2017  路  4Comments  路  Source: adonisjs/core

Choose the correct repo

Not sure if its in this repo or the cli or the ace one. (Sorry in advance)

Issue

I have set up editorconfig

# editorconfig.org

[*]
indent_size = 4

However whenever I use any of the make:migration make:controller etc. etc. commands, the file generated, does not respect the indentation_size (defaults to 2)

Most helpful comment

Yes as @RomainLanz said it鈥檚 a plugin to instruct the editor. But lemme see if we can do anything about it or not

All 4 comments

Hey @oscarmorrison!

editorconfig is an editor's plugin that set your editor configuration to respect what you set up.
It has nothing to do with Adonis and will not change how the generator generates our file

Yes as @RomainLanz said it鈥檚 a plugin to instruct the editor. But lemme see if we can do anything about it or not

I am closing this, since there is no simple way for AdonisJs to read the .editorconfig even before the project doesn't exists.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

navdeepsingh picture navdeepsingh  路  3Comments

dezashibi picture dezashibi  路  4Comments

Extarys picture Extarys  路  4Comments

codingphasedotcom picture codingphasedotcom  路  3Comments

krunaldodiya picture krunaldodiya  路  3Comments