vkrol / eslint-plugin-import-webpack-comment-with-regex-bug

https://github.com/benmosher/eslint-plugin-import/issues/1407

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-import-webpack-comment-with-regex-bugs

import-js/eslint-plugin-import#1407

Steps

  1. Run npm install or yarn
  2. Run npm run lint or yarn lint
D:\Projects\eslint-plugin-import-webpack-comment-with-regex-bug\index.js
  1:1  error  dynamic imports require a leading comment in the form /* webpackChunkName: "[0-9a-zA-Z-_/.]+",? */  import/dynamic-import-chunkname

✖ 1 problem (1 error, 0 warnings)

About

https://github.com/benmosher/eslint-plugin-import/issues/1407


Languages

Language:JavaScript 100.0%