social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

486
active users

#eslint

0 posts0 participants0 posts today

Any #javascript devs familiar with #eslint able to tell me what I'm doing wrong here?

```
import mbxConfig from 'mbx-eslint-config';

export default [
{
ignores: [
"dist"
],
},
mbxConfig.configs.recommended,
];
```

`mbx-eslint-config` includes stylistic recommended rules and then a set of rule overrides, but the resulting config from this file is ignoring my override on the `max-len` rule.

`npx eslint --inspect-config` shows me the expected output.

Anyone here doing #typescript development with #eslint and a #language-service like #emacs #eglot?

- to run eslint as part of the typescript compiler, I use this plugin github.com/Quramy/typescript-e, which is even referenced on the tsconfig documentation page,
- eslint-9 changed a lot of things, in particular it does not seem to work with the plugin

But for reasons I would like to use eslint-9. Anyone here who has experience with this and got it to work?

👏 There's now an #ESLint rule to check the #Baseline status of CSS features: web.dev/blog/eslint-baseline-i.

```
/var/www/my-cool-web-project/src/css/styles.css
269:3 warning Property 'overflow' is not a widely available baseline feature css/require-baseline
```

web.devSupport for CSS and Baseline has shipped in ESLint  |  Blog  |  web.devYou can now use ESLint to lint CSS and enforce usage of Baseline CSS features in your project! Learn more in this blog post.

#npm, le gestionnaire de modules un tantinet bordélique de #nodejs, a tendance à s'étaler comme un sagouin en mode YOLO.

Et on a beau avoir que 2-3 dépendances dans ses projets (#eslint, #esbuild, ...), on peut vite se retrouver avec un cache npm de plus de 1 Go...

1 PUTXXX DE GIGA. 😠

Pour des applications web qui font 50 Ko minifiées.

Donc ne pas oublier de faire #nettoyage de tant à autre :

npm cache clean --force

Je passe ainsi de 1 Go à 2.5 Mo !

Continued thread

2/ I'm thinking here particularly of junior to mid-level #developers who may not have a lot of "work" they can show.

I'm also thinking particularly of #web development. In my mind they should probably be looking for a full-stack app that:

1. Uses popular tech like #docker, #git, #github, #githubactions, #eslint, #typescript, #sql, #react, #aws or the like.
2. Allows them to get involved in the full lifecycle - from setting up a local dev environment through CI/CD to production.

🛠️ #PhpStorm 2024.2.4 maintenance update includes several important fixes and improvements for #PHP developers
📌 Key improvements:

🖥️ Fixed editor tab pane resizing issue when placed on left/right after #IDE restart
💻 Resolved classic terminal cursor shape reset problem
⚡ Improved #ESLint configuration detection for eslint.config.ts files
🔄 Fixed #GitLab chunked transfer encoding issue during READING_LENGTH state

🔍 This minor release focuses on stability and user experience enhancements for the popular #JetBrains development environment
📋 Full release notes available at:
youtrack.jetbrains.com/article