alexkuz / eslint-plugin-jinja

This plugin treats Jinja template expressions as Javascript literals and ignores template statements and comments
MIT License
3 stars 11 forks source link

Not compatible with ESLint 8.5.0 #5

Open eladavron opened 2 years ago

eladavron commented 2 years ago

Trying to install normally gives

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: potatofarm-static@1.0.0
npm ERR! Found: eslint@8.6.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^8.5.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^0.23.0 || ^1.0.0 || ^2.0.0" from eslint-plugin-jinja2@0.1.0
npm ERR! node_modules/eslint-plugin-jinja2
npm ERR!   dev eslint-plugin-jinja2@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

And trying to install with --force - while it installs - just doesn't work.

eladavron commented 2 years ago

Made a pull request to update it: https://github.com/alexkuz/eslint-plugin-jinja/pull/7