Comments (8)
https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0#remove-cliengine seems to be useful
from prettier-eslint-cli.
any updates?
from prettier-eslint-cli.
Since prettier/prettier-eslint#696 is merged and prettier-eslint
supports ESLint v8, what are the chances of this project upgrading eslint
and prettier-eslint
?
from prettier-eslint-cli.
Supporting prettier-eslint
, prettier
, and eslint
later than v9.0.2, v1.19.1, and v5.16.0, respectively, is #304. 😕
from prettier-eslint-cli.
I am running into this issue as well when updating to eslint
v8.13.0. Any updates or should I wait on updating eslint
?
from prettier-eslint-cli.
@haase1020 Support for ESLint 8 is coming (see prettier/prettier-eslint#696). However there was an issue with the publishing process and it didn't push out a new version. In short, do not update to ESLint 8 just yet.
from prettier-eslint-cli.
@idahogurl Thanks for your work on this. I'm running the following (all the latest versions, AFAICT):
"eslint": "8.13.0",
"prettier": "2.6.2",
"prettier-eslint": "14.0.0",
"prettier-eslint-cli": "5.0.1",
... and yet I'm still seeing:
$ ./node_modules/.bin/prettier-eslint file.js
prettier-eslint [ERROR]: There was trouble creating the ESLint CLIEngine.
prettier-eslint-cli [ERROR]: There was an error formatting "file.js":
TypeError: CLIEngine is not a constructor
at getESLintCLIEngine (./node_modules/prettier-eslint-cli/node_modules/prettier-eslint/dist/utils.js:403:12)
at getESLintConfig (./node_modules/prettier-eslint-cli/node_modules/prettier-eslint/dist/index.js:210:51)
at format (./node_modules/prettier-eslint-cli/node_modules/prettier-eslint/dist/index.js:75:71)
at MapSubscriber.project (./node_modules/prettier-eslint-cli/dist/format-files.js:268:54)
at MapSubscriber._next (./node_modules/rxjs/internal/operators/map.js:49:35)
at MapSubscriber.Subscriber.next (./node_modules/rxjs/internal/Subscriber.js:66:18)
at AsyncSubject.Subject.next (./node_modules/rxjs/internal/Subject.js:60:25)
at AsyncSubject.complete (./node_modules/rxjs/internal/AsyncSubject.js:53:35)
at handler (./node_modules/rxjs/internal/observable/bindNodeCallback.js:53:33)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
failure formatting 1 file with prettier-eslint
from prettier-eslint-cli.
hey @georgecrawford same here
"@nuxtjs/style-resources": "^1.2.1",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.7.1",
"prettier": "^2.4.1",
"prettier-eslint-cli": "^5.0.1",
from prettier-eslint-cli.
Related Issues (20)
- support directory as argument HOT 3
- Is it possible to provide a `--check` option like prettier? HOT 2
- I have problem about this package, HOT 1
- eslint error: Configuration for rule "import/order" is invalid HOT 1
- What different beween use prettier-eslint-cli and use prettier and eslint step by step? HOT 3
- Can an error be reported when the error cannot be resolved? HOT 1
- `--list-different` doesn't exclude node_modules HOT 1
- `--list-different` from script fails HOT 1
- Error: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received '' HOT 4
- Still reports "jsxBracketSameLine is deprecated." even when option is not used HOT 1
- Option to fix only `layout` issues HOT 1
- Add --cache option HOT 1
- incompatibility with Next eslint config HOT 11
- [v7] bump dependencies HOT 1
- Maintainace: replace `semantic-release` with `changesets` HOT 12
- Support Yarn Plug n Play HOT 1
- Failed to load plugin 'react-hooks' declared in 'CLIOptions' HOT 1
- Support for Prettier 3 (TypeError: Expected `input` to be a `string`, got `object`) HOT 1
- Allow prettier-eslint-cli to write eslint errors/warnings to stderr? HOT 15
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 prettier-eslint-cli.