module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: [
'eslint:recommended',
'plugin:vue/essential',
'plugin:vue/recommended'
],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['vue'],
ignorePatterns: ["./src/Nomad/**/*.min.js"],
rules: {
indent: ['warn', 2],
'no-undef': 'off'
},
};
If a glob pattern starts with /, the pattern is relative to the base directory of the config file. For example, /foo.js in lib/.eslintrc.json matches to lib/foo.js but not lib/subdir/foo.js.
ignorePatterns: ["./src/Nomad/**/*.min.js"],
Как настроить lint что бы он игнорировал минифицированые файлы?