Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

eslint init

yarn eslint --init
    3 > To check syntax, find problems, and enforce code style
    2 > Javascript modules (import/export)
    3 > None of these
    2 > Apenas NODE
    1 > Use a popular style guide
    1 > Airbnb  
    1 > JavaScript
    Y > Yes, (instalar with npm)

remover arquivo do npm: package-lock.json
yarn //atualizar as dependencias
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #eslint #init
ADD COMMENT
Topic
Name
3+8 =