Support » Plugin: Theme Check » Don't understanding warning

  • Resolved Azizul Karim


    I am using a child theme and i registered custom.js file under js folder. The js file working properly but there is a warning massage in theme check

    WARNING: Both DOS and UNIX style line endings were found in the file js/custom.js. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.

    I don’t know what to do. please help me!
    Note: I am using sparkling child theme.

Viewing 1 replies (of 1 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    Two points:

    1. It will complain because it sees more than one type of line ending in the file. Files should be consistent in their line endings.

    2. Why are you checking a child theme for your site? Are you planning on submitting your child theme to If so, then that’s fine, but if not, then you don’t need the Theme Check plugin at all, really. Theme Check is for pre-flight checks before submission. It’s not a way to rate a theme’s quality.

Viewing 1 replies (of 1 total)
  • The topic ‘Don't understanding warning’ is closed to new replies.