Giter Club home page Giter Club logo

Comments (4)

imjuni avatar imjuni commented on August 19, 2024

Hi @wirekang

ctix works fine on my project what jin-frame and erdia.

Can you create example repository for solve this problem?

from ctix.

Chanki-Min avatar Chanki-Min commented on August 19, 2024

Hello @imjuni

Looks like this is prettier of ctix's problem
prettier needs parser field to run. and if not, No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. warning will be thrown

And looking at prettier useage in ctix's code, looks like ctix using host project's prettier config (.prettirc)

So, If host project (who uses ctix) doesn't have .prettirc. than there are no parser config given to ctix's prettier instance.

So i guess ctix needs to give default prettier config

ref) vuejs/vue-cli#3356 (comment)

By the way, I'm very grateful to use this library. I wish this could helps

from ctix.

Chanki-Min avatar Chanki-Min commented on August 19, 2024

I deleted my project's .prettierrc and ran ctix than same warning rises :)

from ctix.

imjuni avatar imjuni commented on August 19, 2024

If you set the .editorconfig when you are not using the prettier, it will occur when the pretter works.

This issue has been fixed in v1.3.3, and even if .editorconfig is set, the prettier will not work unless parser is set to typescript in the prettier option.

@wirekang @Chanki-Min Thank you for your help fix this problem.

from ctix.

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.