xojs / eslint-config-xo

ESLint shareable config for XO

Home Page:https://github.com/xojs/xo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`capitalized-comments` ignore webpack magic comments

yangmingshan opened this issue · comments

import(
  /* webpackChunkName: "my-chunk-name" */ './some-chunk' // Error: Comments should not begin with a lowercase character
);

https://webpack.js.org/api/module-methods/#magic-comments

You can add it to

ignorePattern: /pragma|ignore|prettier-ignore/.source,