Coder Social home page Coder Social logo

sozonome / eslint-config-sznm Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 269 KB

My personal ESLint configs

Home Page: https://sznm.link/eslint

License: MIT License

JavaScript 100.00%
eslint eslint-config eslint-configs eslint-rules eslint-shareable-configs javascript react typescript

eslint-config-sznm's Introduction

eslint-config-sznm's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar renovate[bot] avatar sozonome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eslint-config-sznm's Issues

prettier.resolveConfig.sync is not a function

Describe the bug

It appears that Prettier v3.0.0 is incompatible with this package. pnpm lint fails if sznm/react is included in .eslintrc.json.

Reproduction

Make a project that utilises eslint, prettier and this dependency. You can use nextarter-chakra from your own repositories to test this as it has the dependencies. Install using pnpm install and then try pnpm lint.

System Info

System:
    OS: Windows 10 10.0.25370
    CPU: (8) x64 AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
    Memory: 2.80 GB / 9.94 GB
  Binaries:
    Node: 18.14.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.6.7 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Spartan (44.25370.1.0), Chromium (114.0.1823.43)

Used Package Manager

pnpm

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • fix(deps): update all dependencies (@typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-plugin-react, eslint-plugin-sonarjs, typescript)

Detected dependencies

github-actions
.github/workflows/release-please.yml
.github/workflows/release.yml
.github/workflows/update-license.yml
npm
package.json
  • @typescript-eslint/eslint-plugin ^7.2.0
  • @typescript-eslint/parser ^7.2.0
  • eslint-config-airbnb ^19.0.4
  • eslint-config-airbnb-base ^15.0.0
  • eslint-config-airbnb-typescript ^18.0.0
  • eslint-config-prettier ^9.1.0
  • eslint-import-resolver-typescript ^3.6.1
  • eslint-plugin-import ^2.29.1
  • eslint-plugin-jsx-a11y ^6.8.0
  • eslint-plugin-prettier ^5.1.3
  • eslint-plugin-react ^7.34.0
  • eslint-plugin-react-hooks ^4.6.0
  • eslint-plugin-sonarjs ^0.24.0
  • cross-env ^7.0.3
  • eslint ^8.57.0
  • husky ^9.0.11
  • lint-staged ^15.2.2
  • prettier ^3.2.5
  • standard-version ^9.5.0
  • typescript ^5.4.2
  • eslint ^7.32.0 || ^8.2.0
  • prettier 3.x

  • Check this box to trigger a request for Renovate to run again on this repository

VSCode Eslint does not recognize sznm dependencies

Seems like the vscode extension does not recognise the dependent plugins of sznm

image

hence the extension is also not working (the actual eslint command does work)

any workaround for this? (other than adding all of the dependent plugins to package.json)

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.