Comments (4)
Hi @wirekang
ctix works fine on my project what jin-frame and erdia.
Can you create example repository for solve this problem?
from ctix.
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.
I deleted my project's .prettierrc
and ran ctix than same warning rises :)
from ctix.
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)
- [Feature] Option to change default exports aliasing HOT 3
- Parameters are overwritten HOT 4
- How to exclude __tests__ folders? HOT 2
- Error with destructured exports HOT 1
- Re-exporting a type should consider about 'isolatedModules' flag HOT 2
- module.exports fails HOT 1
- ctix not creating root index.ts HOT 4
- Output streams are misused HOT 1
- [question]: Cannot configure `.ctiignore` file: ignore file loading complete error: detailIgnoreds.at is not a function HOT 5
- `getIsIsolatedModules` calculation depends on the order of the exported declarations HOT 4
- How to prevent creation of backup files? HOT 1
- --ignoreFile option not working HOT 1
- export default HoC's are not supported HOT 6
- Ignoring exports based on glob pattern HOT 1
- ctix fails when source file contains two exports to the same wildcard module declaration HOT 4
- Index creation not working for vue-files HOT 6
- NextJS use client directive feature & duplicate FirstLineComment fix HOT 2
- Folders with '.' in names are not being resolved correctly HOT 4
- CtixReasoner outputs empty strings to stderr when there are no true errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctix.