EvgenyOrekhov / eslint-config-hardcore

The most strict (yet practical) ESLint config. 53 plugins. 1342 rules. React, Vue, Node, and pure JS/TS.
https://www.npmjs.com/package/eslint-config-hardcore
MIT License
407 stars 13 forks source link

Forbid `index` files #845

Open EvgenyOrekhov opened 8 months ago

EvgenyOrekhov commented 8 months ago

See https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-7/

Also maybe add some more filename rules: https://npmtrends.com/eslint-plugin-check-file-vs-eslint-plugin-filename-rules-vs-eslint-plugin-filenames-vs-eslint-plugin-filenames-simple-vs-eslint-plugin-project-structure

Notes:

EvgenyOrekhov commented 8 months ago

Hi @alexkramer98! What about index.ts files? Are there cases that require usage of index.ts files in Vue 3/Nuxt 3?

alexkramer98 commented 8 months ago

Not as far as I am aware. I don't believe I've encountered them in Vue 3/Nuxt yet.