webpack-contrib / mini-css-extract-plugin

Lightweight CSS extraction plugin
MIT License
4.65k stars 389 forks source link

mini-css-extract-plugin fails to lint on Windows #724

Closed ferdinando-ferreira closed 3 years ago

ferdinando-ferreira commented 3 years ago

Expected Behavior

npm run test should succeed on a fresh clone on Windows

Actual Behavior

c:\tests\mini-css-extract-plugin>npm run test

> mini-css-extract-plugin@1.3.9 pretest
> npm run lint

> mini-css-extract-plugin@1.3.9 lint
> npm-run-all -l -p "lint:**"

[lint:js      ]
[lint:js      ] > mini-css-extract-plugin@1.3.9 lint:js
[lint:js      ] > eslint --cache .
[lint:js      ]
[lint:prettier]
[lint:prettier] > mini-css-extract-plugin@1.3.9 lint:prettier
[lint:prettier] > prettier "{**/*,*}.{js,json,md,yml,css,ts}" --list-different
[lint:prettier]
[lint:prettier] .eslintrc.js
[lint:prettier] .github\CONTRIBUTING.md
[lint:prettier] .github\FUNDING.yml
[lint:prettier] .github\ISSUE_TEMPLATE.md
[lint:prettier] .github\ISSUE_TEMPLATE\BUG.md
[lint:prettier] .github\ISSUE_TEMPLATE\DOCS.md
[lint:prettier] .github\ISSUE_TEMPLATE\FEATURE.md
[lint:prettier] .github\ISSUE_TEMPLATE\MODIFICATION.md
[lint:prettier] .github\ISSUE_TEMPLATE\SUPPORT.md
[lint:prettier] .github\PULL_REQUEST_TEMPLATE.md
[lint:prettier] .github\workflows\nodejs.yml
[lint:prettier] .prettierrc.js
[lint:prettier] babel.config.js
[lint:prettier] commitlint.config.js
[lint:prettier] husky.config.js
[lint:prettier] jest.config.js
[lint:prettier] lint-staged.config.js
[lint:prettier] package-lock.json
[lint:prettier] package.json
[lint:prettier] README.md
[lint:prettier] setupTest.js
[lint:prettier] src\cjs.js
[lint:prettier] src\hmr\hotModuleReplacement.js
[lint:prettier] src\hmr\normalize-url.js
[lint:prettier] src\index.js
[lint:prettier] src\loader-options.json
[lint:prettier] src\loader.js
[lint:prettier] src\plugin-options.json
[lint:prettier] src\utils.js
[lint:prettier] test\api.test.js
[lint:prettier] test\attributes-option.test.js
[lint:prettier] test\cases\asset-modules\index.js
[lint:prettier] test\cases\asset-modules\style.css
[lint:prettier] test\cases\asset-modules\test.filter.js
[lint:prettier] test\cases\asset-modules\webpack.config.js
[lint:prettier] test\cases\at-import\a.css
[lint:prettier] test\cases\at-import\aa.css
[lint:prettier] test\cases\at-import\ab.css
[lint:prettier] test\cases\at-import\ac.css
[lint:prettier] test\cases\at-import\ad.css
[lint:prettier] test\cases\at-import\ae.css
[lint:prettier] test\cases\at-import\b.css
[lint:prettier] test\cases\at-import\ba.css
[lint:prettier] test\cases\at-import\bb.css
[lint:prettier] test\cases\at-import\index.js
[lint:prettier] test\cases\at-import\webpack.config.js
[lint:prettier] test\cases\auxiliaryAssets\fonts.css
[lint:prettier] test\cases\auxiliaryAssets\index.js
[lint:prettier] test\cases\auxiliaryAssets\test.filter.js
[lint:prettier] test\cases\auxiliaryAssets\webpack.config.js
[lint:prettier] test\cases\chunkFilename-as-function\async.css
[lint:prettier] test\cases\chunkFilename-as-function\index.js
[lint:prettier] test\cases\chunkFilename-as-function\style.css
[lint:prettier] test\cases\chunkFilename-as-function\webpack.config.js
[lint:prettier] test\cases\chunkFilename-fullhash\async.css
[lint:prettier] test\cases\chunkFilename-fullhash\index.js
[lint:prettier] test\cases\chunkFilename-fullhash\style.css
[lint:prettier] test\cases\chunkFilename-fullhash\test.filter.js
[lint:prettier] test\cases\chunkFilename-fullhash\webpack.config.js
[lint:prettier] test\cases\chunkFilename\async.css
[lint:prettier] test\cases\chunkFilename\index.js
[lint:prettier] test\cases\chunkFilename\style.css
[lint:prettier] test\cases\chunkFilename\webpack.config.js
[lint:prettier] test\cases\commonjs-module-syntax\index.js
[lint:prettier] test\cases\commonjs-module-syntax\style.css
[lint:prettier] test\cases\commonjs-module-syntax\webpack.config.js
[lint:prettier] test\cases\composes-async\async-1.css
[lint:prettier] test\cases\composes-async\async-2.css
[lint:prettier] test\cases\composes-async\index.js
[lint:prettier] test\cases\composes-async\webpack.config.js
[lint:prettier] test\cases\content-entries-with-same-import\index.js
[lint:prettier] test\cases\content-entries-with-same-import\one.js
[lint:prettier] test\cases\content-entries-with-same-import\style1.css
[lint:prettier] test\cases\content-entries-with-same-import\style2.css
[lint:prettier] test\cases\content-entries-with-same-import\test.filter.js
[lint:prettier] test\cases\content-entries-with-same-import\two.js
[lint:prettier] test\cases\content-entries-with-same-import\webpack.config.js
[lint:prettier] test\cases\contenthash-multiple-entries\entryA.js
[lint:prettier] test\cases\contenthash-multiple-entries\entryB.js
[lint:prettier] test\cases\contenthash-multiple-entries\entryD.js
[lint:prettier] test\cases\contenthash-multiple-entries\entryE.js
[lint:prettier] test\cases\contenthash-multiple-entries\styleA.css
[lint:prettier] test\cases\contenthash-multiple-entries\styleB.css
[lint:prettier] test\cases\contenthash-multiple-entries\styleC.css
[lint:prettier] test\cases\contenthash-multiple-entries\styleD.css
[lint:prettier] test\cases\contenthash-multiple-entries\webpack.config.js
[lint:prettier] test\cases\contenthash\index.js
[lint:prettier] test\cases\contenthash\style1.css
[lint:prettier] test\cases\contenthash\style2.css
[lint:prettier] test\cases\contenthash\webpack.config.js
[lint:prettier] test\cases\css-import\a.css
[lint:prettier] test\cases\css-import\b.css
[lint:prettier] test\cases\css-import\c.css
[lint:prettier] test\cases\css-import\index.css
[lint:prettier] test\cases\css-import\webpack.config.js
[lint:prettier] test\cases\default-options\index.js
[lint:prettier] test\cases\default-options\style.css
[lint:prettier] test\cases\default-options\webpack.config.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\entryA.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\entryB.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\entryC.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\entryD.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\styleA.css
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\styleB.css
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\styleC.css
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\styleD.css
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\test.filter.js
[lint:prettier] test\cases\dependOn-multiple-files-per-entry\webpack.config.js
[lint:prettier] test\cases\dependOn\entryA.js
[lint:prettier] test\cases\dependOn\entryB.js
[lint:prettier] test\cases\dependOn\styleA.css
[lint:prettier] test\cases\dependOn\styleB.css
[lint:prettier] test\cases\dependOn\test.filter.js
[lint:prettier] test\cases\dependOn\webpack.config.js
[lint:prettier] test\cases\devtool-source-map-from-loaders\index.js
[lint:prettier] test\cases\devtool-source-map-from-loaders\style.css
[lint:prettier] test\cases\devtool-source-map-from-loaders\webpack.config.js
[lint:prettier] test\cases\devtool-source-map-no-source-maps-from-loaders\index.js
[lint:prettier] test\cases\devtool-source-map-no-source-maps-from-loaders\style.css
[lint:prettier] test\cases\devtool-source-map-no-source-maps-from-loaders\webpack.config.js
[lint:prettier] test\cases\devtool-source-map\index.js
[lint:prettier] test\cases\devtool-source-map\style.css
[lint:prettier] test\cases\devtool-source-map\webpack.config.js
[lint:prettier] test\cases\es-module-concatenation-modules\a.css
[lint:prettier] test\cases\es-module-concatenation-modules\b.css
[lint:prettier] test\cases\es-module-concatenation-modules\c.css
[lint:prettier] test\cases\es-module-concatenation-modules\index.js
[lint:prettier] test\cases\es-module-concatenation-modules\webpack.config.js
[lint:prettier] test\cases\es-module-concatenation\a.css
[lint:prettier] test\cases\es-module-concatenation\b.css
[lint:prettier] test\cases\es-module-concatenation\c.css
[lint:prettier] test\cases\es-module-concatenation\index.js
[lint:prettier] test\cases\es-module-concatenation\webpack.config.js
[lint:prettier] test\cases\es-module-syntax\index.js
[lint:prettier] test\cases\es-module-syntax\style.css
[lint:prettier] test\cases\es-module-syntax\webpack.config.js
[lint:prettier] test\cases\es-named-export-output-module\index.js
[lint:prettier] test\cases\es-named-export-output-module\style.css
[lint:prettier] test\cases\es-named-export-output-module\test.filter.js
[lint:prettier] test\cases\es-named-export-output-module\webpack.config.js
[lint:prettier] test\cases\es-named-export\index.js
[lint:prettier] test\cases\es-named-export\style.css
[lint:prettier] test\cases\es-named-export\webpack.config.js
[lint:prettier] test\cases\file-loader\index.js
[lint:prettier] test\cases\file-loader\style.css
[lint:prettier] test\cases\file-loader\webpack.config.js
[lint:prettier] test\cases\filename-as-function\index.js
[lint:prettier] test\cases\filename-as-function\style.css
[lint:prettier] test\cases\filename-as-function\webpack.config.js
[lint:prettier] test\cases\filename-with-template\async.css
[lint:prettier] test\cases\filename-with-template\index.js
[lint:prettier] test\cases\filename-with-template\style.css
[lint:prettier] test\cases\filename-with-template\webpack.config.js
[lint:prettier] test\cases\filename-without-template\async.css
[lint:prettier] test\cases\filename-without-template\index.js
[lint:prettier] test\cases\filename-without-template\style.css
[lint:prettier] test\cases\filename-without-template\webpack.config.js
[lint:prettier] test\cases\hmr\a.css
[lint:prettier] test\cases\hmr\b.css
[lint:prettier] test\cases\hmr\c.css
[lint:prettier] test\cases\hmr\index.css
[lint:prettier] test\cases\hmr\webpack.config.js
[lint:prettier] test\cases\ignoreOrder\e1.css
[lint:prettier] test\cases\ignoreOrder\e2.css
[lint:prettier] test\cases\ignoreOrder\index.js
[lint:prettier] test\cases\ignoreOrder\index2.js
[lint:prettier] test\cases\ignoreOrder\webpack.config.js
[lint:prettier] test\cases\ignoreOrderFalse\e1.css
[lint:prettier] test\cases\ignoreOrderFalse\e2.css
[lint:prettier] test\cases\ignoreOrderFalse\e3.css
[lint:prettier] test\cases\ignoreOrderFalse\index.js
[lint:prettier] test\cases\ignoreOrderFalse\index2.js
[lint:prettier] test\cases\ignoreOrderFalse\index3.js
[lint:prettier] test\cases\ignoreOrderFalse\warnings.js
[lint:prettier] test\cases\ignoreOrderFalse\webpack.config.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\e1.css
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\e2.css
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\e3.css
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\e4.css
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\index.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\index2.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\index3.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\index4.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\warnings.js
[lint:prettier] test\cases\ignoreOrderFalseWithoutGoodChunks\webpack.config.js
[lint:prettier] test\cases\import\a.css
[lint:prettier] test\cases\import\b.css
[lint:prettier] test\cases\import\c.css
[lint:prettier] test\cases\import\index.js
[lint:prettier] test\cases\import\webpack.config.js
[lint:prettier] test\cases\insert-function\src\index.js
[lint:prettier] test\cases\insert-function\src\inject.css
[lint:prettier] test\cases\insert-function\webpack.config.js
[lint:prettier] test\cases\insert-string\src\index.js
[lint:prettier] test\cases\insert-string\src\inject.css
[lint:prettier] test\cases\insert-string\webpack.config.js
[lint:prettier] test\cases\insert-undefined\src\index.js
[lint:prettier] test\cases\insert-undefined\src\inject.css
[lint:prettier] test\cases\insert-undefined\webpack.config.js
[lint:prettier] test\cases\js-hash\index.js
[lint:prettier] test\cases\js-hash\loader.js
[lint:prettier] test\cases\js-hash\style.css
[lint:prettier] test\cases\js-hash\webpack.config.js
[lint:prettier] test\cases\moduleFilenameMutableFilename\index.js
[lint:prettier] test\cases\moduleFilenameMutableFilename\style.css
[lint:prettier] test\cases\moduleFilenameMutableFilename\webpack.config.js
[lint:prettier] test\cases\multiple-entry\a.css
[lint:prettier] test\cases\multiple-entry\async-one.js
[lint:prettier] test\cases\multiple-entry\async-two.js
[lint:prettier] test\cases\multiple-entry\b.css
[lint:prettier] test\cases\multiple-entry\c.css
[lint:prettier] test\cases\multiple-entry\d.css
[lint:prettier] test\cases\multiple-entry\index-one.js
[lint:prettier] test\cases\multiple-entry\index-two.js
[lint:prettier] test\cases\multiple-entry\webpack.config.js
[lint:prettier] test\cases\nested\a.css
[lint:prettier] test\cases\nested\b.css
[lint:prettier] test\cases\nested\component.css
[lint:prettier] test\cases\nested\component.js
[lint:prettier] test\cases\nested\index.js
[lint:prettier] test\cases\nested\webpack.config.js
[lint:prettier] test\cases\no-identifier\index.js
[lint:prettier] test\cases\no-identifier\style.css
[lint:prettier] test\cases\no-identifier\webpack.config.js
[lint:prettier] test\cases\no-loader\index.js
[lint:prettier] test\cases\no-loader\style.css
[lint:prettier] test\cases\no-loader\webpack.config.js
[lint:prettier] test\cases\no-source-map\index.js
[lint:prettier] test\cases\no-source-map\style.css
[lint:prettier] test\cases\no-source-map\webpack.config.js
[lint:prettier] test\cases\output-iife\index.js
[lint:prettier] test\cases\output-iife\style.css
[lint:prettier] test\cases\output-iife\test.filter.js
[lint:prettier] test\cases\output-iife\webpack.config.js
[lint:prettier] test\cases\output-module\index.js
[lint:prettier] test\cases\output-module\style.css
[lint:prettier] test\cases\output-module\test.filter.js
[lint:prettier] test\cases\output-module\webpack.config.js
[lint:prettier] test\cases\publicpath-compiler-auto\index.js
[lint:prettier] test\cases\publicpath-compiler-auto\style.css
[lint:prettier] test\cases\publicpath-compiler-auto\webpack.config.js
[lint:prettier] test\cases\publicpath-emptystring\index.js
[lint:prettier] test\cases\publicpath-emptystring\style.css
[lint:prettier] test\cases\publicpath-emptystring\webpack.config.js
[lint:prettier] test\cases\publicpath-function\nested\again\style.css
[lint:prettier] test\cases\publicpath-function\nested\style.css
[lint:prettier] test\cases\publicpath-function\webpack.config.js
[lint:prettier] test\cases\publicpath-loader-auto\index.js
[lint:prettier] test\cases\publicpath-loader-auto\style.css
[lint:prettier] test\cases\publicpath-loader-auto\webpack.config.js
[lint:prettier] test\cases\publicpath-trailing-slash\index.js
[lint:prettier] test\cases\publicpath-trailing-slash\style.css
[lint:prettier] test\cases\publicpath-trailing-slash\webpack.config.js
[lint:prettier] test\cases\runtime\async.js
[lint:prettier] test\cases\runtime\index.js
[lint:prettier] test\cases\runtime\style.css
[lint:prettier] test\cases\runtime\webpack.config.js
[lint:prettier] test\cases\serializingBigStrings\webpack.config.js
[lint:prettier] test\cases\shared-import\a.css
[lint:prettier] test\cases\shared-import\b.css
[lint:prettier] test\cases\shared-import\c.css
[lint:prettier] test\cases\shared-import\index.js
[lint:prettier] test\cases\shared-import\shared.css
[lint:prettier] test\cases\shared-import\webpack.config.js
[lint:prettier] test\cases\simple-async-load-css-fallback\a.css
[lint:prettier] test\cases\simple-async-load-css-fallback\async-one.js
[lint:prettier] test\cases\simple-async-load-css-fallback\async-two.js
[lint:prettier] test\cases\simple-async-load-css-fallback\b.css
[lint:prettier] test\cases\simple-async-load-css-fallback\c.css
[lint:prettier] test\cases\simple-async-load-css-fallback\d.css
[lint:prettier] test\cases\simple-async-load-css-fallback\e.css
[lint:prettier] test\cases\simple-async-load-css-fallback\f.css
[lint:prettier] test\cases\simple-async-load-css-fallback\index.js
[lint:prettier] test\cases\simple-async-load-css-fallback\webpack.config.js
[lint:prettier] test\cases\simple-async-load-css\a.css
[lint:prettier] test\cases\simple-async-load-css\async-one.js
[lint:prettier] test\cases\simple-async-load-css\async-two.js
[lint:prettier] test\cases\simple-async-load-css\b.css
[lint:prettier] test\cases\simple-async-load-css\c.css
[lint:prettier] test\cases\simple-async-load-css\d.css
[lint:prettier] test\cases\simple-async-load-css\e.css
[lint:prettier] test\cases\simple-async-load-css\f.css
[lint:prettier] test\cases\simple-async-load-css\index.js
[lint:prettier] test\cases\simple-async-load-css\webpack.config.js
[lint:prettier] test\cases\simple-async-source-map\async.css
[lint:prettier] test\cases\simple-async-source-map\async.js
[lint:prettier] test\cases\simple-async-source-map\in-async.css
[lint:prettier] test\cases\simple-async-source-map\index.js
[lint:prettier] test\cases\simple-async-source-map\main.css
[lint:prettier] test\cases\simple-async-source-map\webpack.config.js
[lint:prettier] test\cases\simple-async\async.css
[lint:prettier] test\cases\simple-async\async.js
[lint:prettier] test\cases\simple-async\in-async.css
[lint:prettier] test\cases\simple-async\index.js
[lint:prettier] test\cases\simple-async\main.css
[lint:prettier] test\cases\simple-async\webpack.config.js
[lint:prettier] test\cases\simple-commonjs-syntax\index.js
[lint:prettier] test\cases\simple-commonjs-syntax\style.css
[lint:prettier] test\cases\simple-commonjs-syntax\webpack.config.js
[lint:prettier] test\cases\simple-css-modules-mode-global\index.js
[lint:prettier] test\cases\simple-css-modules-mode-global\style.css
[lint:prettier] test\cases\simple-css-modules-mode-global\webpack.config.js
[lint:prettier] test\cases\simple-css-modules-mode-local-output-module\index.js
[lint:prettier] test\cases\simple-css-modules-mode-local-output-module\style.css
[lint:prettier] test\cases\simple-css-modules-mode-local-output-module\test.filter.js
[lint:prettier] test\cases\simple-css-modules-mode-local-output-module\webpack.config.js
[lint:prettier] test\cases\simple-css-modules-mode-local\index.js
[lint:prettier] test\cases\simple-css-modules-mode-local\style.css
[lint:prettier] test\cases\simple-css-modules-mode-local\webpack.config.js
[lint:prettier] test\cases\simple-css-modules-mode-pure\index.js
[lint:prettier] test\cases\simple-css-modules-mode-pure\style.css
[lint:prettier] test\cases\simple-css-modules-mode-pure\webpack.config.js
[lint:prettier] test\cases\simple-es-module-syntax\index.js
[lint:prettier] test\cases\simple-es-module-syntax\style.css
[lint:prettier] test\cases\simple-es-module-syntax\webpack.config.js
[lint:prettier] test\cases\simple-multiple\a.css
[lint:prettier] test\cases\simple-multiple\b.css
[lint:prettier] test\cases\simple-multiple\index.js
[lint:prettier] test\cases\simple-multiple\webpack.config.js
[lint:prettier] test\cases\simple-publicpath\index.js
[lint:prettier] test\cases\simple-publicpath\style.css
[lint:prettier] test\cases\simple-publicpath\webpack.config.js
[lint:prettier] test\cases\simple\index.js
[lint:prettier] test\cases\simple\style.css
[lint:prettier] test\cases\simple\webpack.config.js
[lint:prettier] test\cases\source-map\index.js
[lint:prettier] test\cases\source-map\style.css
[lint:prettier] test\cases\source-map\webpack.config.js
[lint:prettier] test\cases\split-chunks-all\a.js
[lint:prettier] test\cases\split-chunks-all\b.js
[lint:prettier] test\cases\split-chunks-all\index.js
[lint:prettier] test\cases\split-chunks-all\style.css
[lint:prettier] test\cases\split-chunks-all\webpack.config.js
[lint:prettier] test\cases\split-chunks-recursiveIssuer\a.css
[lint:prettier] test\cases\split-chunks-recursiveIssuer\a.js
[lint:prettier] test\cases\split-chunks-recursiveIssuer\b.css
[lint:prettier] test\cases\split-chunks-recursiveIssuer\b.js
[lint:prettier] test\cases\split-chunks-recursiveIssuer\components\comp1.css
[lint:prettier] test\cases\split-chunks-recursiveIssuer\components\comp1.js
[lint:prettier] test\cases\split-chunks-recursiveIssuer\components\comp2.css
[lint:prettier] test\cases\split-chunks-recursiveIssuer\components\comp2.js
[lint:prettier] test\cases\split-chunks-recursiveIssuer\webpack.config.js
[lint:prettier] test\cases\split-chunks-single\a.css
[lint:prettier] test\cases\split-chunks-single\b.css
[lint:prettier] test\cases\split-chunks-single\c.css
[lint:prettier] test\cases\split-chunks-single\chunk1.js
[lint:prettier] test\cases\split-chunks-single\chunk2.js
[lint:prettier] test\cases\split-chunks-single\d.css
[lint:prettier] test\cases\split-chunks-single\e1.css
[lint:prettier] test\cases\split-chunks-single\e2.css
[lint:prettier] test\cases\split-chunks-single\entry1.js
[lint:prettier] test\cases\split-chunks-single\entry2.js
[lint:prettier] test\cases\split-chunks-single\f.css
[lint:prettier] test\cases\split-chunks-single\g.css
[lint:prettier] test\cases\split-chunks-single\h.css
[lint:prettier] test\cases\split-chunks-single\style.css
[lint:prettier] test\cases\split-chunks-single\webpack.config.js
[lint:prettier] test\cases\split-chunks\index.js
[lint:prettier] test\cases\split-chunks\style.css
[lint:prettier] test\cases\split-chunks\webpack.config.js
[lint:prettier] test\cjs.test.js
[lint:prettier] test\enforce-esm.test.js
[lint:prettier] test\helpers\compile.js
[lint:prettier] test\helpers\getCompiler.js
[lint:prettier] test\helpers\getErrors.js
[lint:prettier] test\helpers\getWarnings.js
[lint:prettier] test\helpers\index.js
[lint:prettier] test\helpers\normalizeErrors.js
[lint:prettier] test\helpers\readAsset.js
[lint:prettier] test\helpers\runInJsDom.js
[lint:prettier] test\helpers\source.js
[lint:prettier] test\HMR.test.js
[lint:prettier] test\ignoreOrder-option.test.js
[lint:prettier] test\insert-option.test.js
[lint:prettier] test\linkTag-option.test.js
[lint:prettier] test\manual\src\crossorigin.css
[lint:prettier] test\manual\src\crossorigin.js
[lint:prettier] test\manual\src\index.js
[lint:prettier] test\manual\src\initial.css
[lint:prettier] test\manual\src\lazy-failure.css
[lint:prettier] test\manual\src\lazy-failure.js
[lint:prettier] test\manual\src\lazy.css
[lint:prettier] test\manual\src\lazy.js
[lint:prettier] test\manual\src\lazy.module.css
[lint:prettier] test\manual\src\lazy2.css
[lint:prettier] test\manual\src\preloaded1.css
[lint:prettier] test\manual\src\preloaded1.js
[lint:prettier] test\manual\src\preloaded2.css
[lint:prettier] test\manual\src\preloaded2.js
[lint:prettier] test\manual\src\simple.css
[lint:prettier] test\manual\src\simple.module.css
[lint:prettier] test\manual\webpack.config.js
[lint:prettier] test\normalize-url.test.js
[lint:prettier] test\TestCache.test.js
[lint:prettier] test\TestCases.test.js
[lint:prettier] test\TestMemoryFS.test.js
[lint:prettier] test\validate-loader-options.test.js
[lint:prettier] test\validate-plugin-options.test.js
ERROR: "lint:prettier" exited with 1.

Code

How Do We Reproduce?

On Windows, without forcing line feed behaviour on .gitconfig, execute:

git clone https://github.com/webpack-contrib/mini-css-extract-plugin.git mini-css-extract-plugin
cd mini-css-extract-plugin
npm install
npm run test
alexander-akait commented 3 years ago

No need to change it, do it on own side, webpack use the same config https://github.com/webpack/webpack/blob/master/.gitattributes

ferdinando-ferreira commented 3 years ago

do it on own side

@alexander-akait : I agree in principle.

But the very next lines forces it on .gitattributes

https://github.com/webpack-contrib/mini-css-extract-plugin/blob/6ae4c3ede6b4d02c2c80234a6dc22c355c2e3855/.gitattributes#L3-L4

It seems the reasoning is that it should be enforced project side and not client side or those lines are equally not necessary.