Javascript: Is it okay to use code formatter such as Prettier ?

Created on 8 May 2019  路  1Comment  路  Source: airbnb/javascript

Hi, i would like to ask a question, while following Airbnb Javascript React Styleguide is it okay to use code formatter such as Prettier ?

question

Most helpful comment

At the moment, our config conflicts with prettier, so you鈥檇 have to use eslint-config-prettier to disable all the conflicting rules. However, theoretically you wouldn鈥檛 need prettier, since eslint already has autofix.

>All comments

At the moment, our config conflicts with prettier, so you鈥檇 have to use eslint-config-prettier to disable all the conflicting rules. However, theoretically you wouldn鈥檛 need prettier, since eslint already has autofix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

architectcodes picture architectcodes  路  35Comments

CWSpear picture CWSpear  路  167Comments

josmardias picture josmardias  路  37Comments

francoisromain picture francoisromain  路  155Comments

ljharb picture ljharb  路  36Comments