After vue-cli creates a project to add eslint, eslint's rules are not based on .editorconfig?

after I created the webpack template with vue-cli, I wanted to try to use eslint to standardize the code format.

then change indent_size = 2 to 4 in the .editorconfig file.
found that it didn"t work.

later found that the code format check is based on rule in .eslintrc.js .

so what is the .editorconfig file for?

Mar.04,2021

.editorconfig is a configuration file for the compiler. Usefulness includes:

  1. editorconfig helps developers define and maintain consistent coding styles in different editors and IDE.
  2. The
  3. editorconfig project contains a collection of file format definitions, encoding styles and text editor plug-ins.
  4. editorconfig files are easy to read and they work well with version controllers.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e7ccab-905.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e7ccab-905.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?