File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -1111,25 +1111,14 @@ class Encore {
11111111 * Encore.enableEslintLoader(() => {}, {
11121112 * // set optional Encore-specific options, for instance:
11131113 *
1114- * // lint `.vue` files, see below for more informatin about linting Vue files
1114+ * // lint `.vue` files
11151115 * lintVue: true
11161116 * });
11171117 * ```
11181118 *
11191119 * Supported options:
11201120 * * {boolean} lintVue (default=false)
11211121 * Configure the loader to lint `.vue` files
1122- *
1123- * // Linting Vue files
1124- * Encore.enableEslintLoader((options) => {
1125- * // Deleting the hard-coded `parser` option prevent the error "Use the latest vue-eslint-parser", see:
1126- * // - https://eslint.vuejs.org/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error
1127- * // - https://github.com/symfony/webpack-encore/pull/574
1128- * // Note that it will not be mandatory anymore is some times.
1129- * delete options.parser;
1130- * }, {
1131- * lintVue: true
1132- * });
11331122 * ```
11341123 *
11351124 * @param {string|object|function } eslintLoaderOptionsOrCallback
You can’t perform that action at this time.
0 commit comments