Topic: eslint no-sync
                  
                  lan3jur
                  pro
                  asked 7 years ago
                
                Hi,
In .eslintrc.js, the no-sync option is set to 'error'.
However, in check-versions.js, eslint is complaining about the exec function.
Does this have to be a synchronous operation or can it be adapted to be asynchronous?
Thanks!
                
                  
                
                
                
                  
                  
                  
                    
                    
                
              
              
              
            
                      
                        Add comment
                      
                    
                  
                
                      
                      Mikołaj Smoleński
                      staff
                        answered 7 years ago
                    
                    Hi,
This lint configuration is based on the Vue CLI quick-start project configuration. We had no errors or warnings about the no-sync while developing, so this setting was not changed. Considering thie following article:
https://eslint.org/docs/rules/no-sync
You're allowed to change lint config if You're sure about the consequences.
Regards
                    
                      
                    
                    
                    
                    
                  
                  
                FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Answered
Specification of the issue
              - ForumUser: Pro
 - Premium support: No
 - Technology: MDB Vue
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No
 
Tags