Git Product home page Git Product logo

Comments (4)

tbandixen avatar tbandixen commented on July 16, 2024

Changing the encoding of the .jscsrc file to "UTF-8 without BOM" solved it for me.

from gulp-jscs.

RehanSaeed avatar RehanSaeed commented on July 16, 2024

@tbandixen Thanks, I've been stuck on this for a couple of days. For others with this problem using Windows and Visual Studio, you need to save the file as 'UTF8 without Signature' which is the same thing as BOM or Byte Order Mark.

Ideally gulp-jscm or jscm itself should handle either encoding.

from gulp-jscs.

sindresorhus avatar sindresorhus commented on July 16, 2024

This plugin is just using require('jscs/lib/cli-config').load() to get the config file. This needs to be opened on the main JSCS issue tracker. They could use https://github.com/sindresorhus/load-json-file which strip the UTF-8, and would fix this issue.

from gulp-jscs.

Glutnix avatar Glutnix commented on July 16, 2024

For others who find this issue and the above doesn't help: Check that the syntax of both your .jscsrc and package.json files is valid.

from gulp-jscs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.