Preferences->Settings to turn off eslint's syntax check."/> Preferences->Settings to turn off eslint's syntax check.">
Home >Development Tools >VSCode >How to turn off eslint syntax checking in vscode
##VS Code (Recommended learning: vscode introductory tutorial)
In File->Preferences-> Add "eslint.enable": false to the settings and configure itThe user settings on the right will automatically overwrite the default settings on the left
In the vue project
Delete the configuration related to loader: 'eslint-loader' in the webpack.base.conf.js configuration file, as follows:const createLintingRule = () => ({ test: /\.(js|vue)$/, loader: 'eslint-loader', enforce: 'pre', include: [resolve('src'), resolve('test')], options: { formatter: require('eslint-friendly-formatter'), emitWarning: !config.dev.showEslintErrorsInOverlay }})
The above is the detailed content of How to turn off eslint syntax checking in vscode. For more information, please follow other related articles on the PHP Chinese website!