posthtml / posthtml-modules

Modules Plugin
MIT License
84 stars 11 forks source link

test: fix the tests on windows #88

Closed aminya closed 1 year ago

Scrum commented 2 years ago

@aminya Hi, please resolve errors

> clinton && xo
  package.json
  ✖  Reference could not be resolved: https://json.schemastore.org/jscpd.json at path #/properties/jscpd               pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/semantic-release.json at path #/properties/release  pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/ava.json at path #/properties/ava                   pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/stylelintrc.json at path #/properties/stylelint     pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/prettierrc.json at path #/properties/prettier       pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/eslintrc.json at path #/properties/eslintConfig     pkg-schema
  6  errors
aminya commented 2 years ago

@aminya Hi, please resolve errors

> clinton && xo
  package.json
  ✖  Reference could not be resolved: https://json.schemastore.org/jscpd.json at path #/properties/jscpd               pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/semantic-release.json at path #/properties/release  pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/ava.json at path #/properties/ava                   pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/stylelintrc.json at path #/properties/stylelint     pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/prettierrc.json at path #/properties/prettier       pkg-schema
  ✖  Reference could not be resolved: https://json.schemastore.org/eslintrc.json at path #/properties/eslintConfig     pkg-schema
  6  errors

I did not touch package.json. These should not be related to this PR

Scrum commented 2 years ago

I did not touch package.json. These should not be related to this PR

that's right, these are the updated linter rules. will you be able to fix for this merge ?

aminya commented 2 years ago

No, I am not familiar with these tools. This PR just adds \r to fix the windows tests.