Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-protect-me-from-my-stupidity

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-protect-me-from-my-stupidity - npm Package Versions

2345

12.0.1

Diff

Changelog

Source

12.0.1 - 2025-01-07

Changed

  • Updated the promise/catch-or-return rule in the base configuration to allow the use of the finally() method.
lsphillips
published 12.0.0 •

Changelog

Source

12.0.0 - 2025-01-07

Added

  • Introduced the Web (and/from-writing-stupid-web-applications) configuration extension.
  • Switched the promise/prefer-catch rule on in the base configuration.
  • Switched the vue/slot-name-casing rule on in the Vue configuration extension, enforcing slot names to be kebab-case.
  • Switched the vue/restricted-component-names rule off in the Vue configuration extension.

Changed

  • Updated the base configuration to enable the JSX language feature for .jsx files.
  • Updated the base configuration to enable implied global strict mode.
  • Updated the base configuration and the configuration extensions to be a function. The configuration extensions enable developers to specify their own file matching patterns.
  • Updated the minimum required eslint version to 9.17.0.
  • Updated the minimum required eslint-plugin-promise version to 7.2.1.
  • Updated the minimum required eslint-plugin-vue version to 9.32.0.
  • Updated the minimum required eslint-plugin-n version to 17.15.1.
  • Updated the minimum required @stylistic/eslint-plugin-js version to 2.12.1.
lsphillips
published 11.1.0 •

Changelog

Source

11.1.0 - 2024-11-12

Added

  • Switched the vue/prefer-use-template-ref rule on in the Vue configuration extension.

Changed

  • Updated the minimum required eslint version to 9.15.0.
  • Updated the minimum required eslint-plugin-vue version to 9.31.0.
  • Updated the minimum required @stylistic/eslint-plugin-js version to 2.11.0.
lsphillips
published 11.0.0 •

Changelog

Source

11.0.0 - 2024-11-22

Added

  • Switched the no-useless-assignment and promise/spec-only rules on in the base configuration.
  • Switched the n/prefer-node-protocol rules on in the Node configuration extension.
  • Switched the vue/no-deprecated-delete-set and vue/require-default-export rules on in the Vue configuration extension.
  • Switched the vue/max-props and vue/max-template-depth rules off in the Vue configuration extension.

Changed

  • Moved to the new flat configuration system.
  • Updated the minimum required eslint version to 9.13.0.
  • Updated the minimum required eslint-plugin-promise version to 7.1.0.
  • Updated the minimum required eslint-plugin-vue version to 9.29.1.
  • Updated the minimum required eslint-plugin-import version to 2.31.0.
  • Updated the minimum required @stylistic/eslint-plugin-js version to 2.9.0.
  • Replaced eslint-plugin-node, as it's no longer maintained, with eslint-plugin-n. The minimum required version is 17.13.2.
  • Replaced the line-comment-position rule with the @stylistic/js/line-comment-position rule in the base configuration.
  • Replaced the multiline-comment-style rule with the @stylistic/js/multiline-comment-style rule in the base configuration.
  • Replaced the n/shebang rule with the n/hashbang rule in the Node configuration extension.
  • Switched the import/no-unresolved rule off in the base configuration.

Removed

  • Removed the but/let-my-code-look-stupid, but/let-my-vue-components-look-stupid and but/let-my-node-applications-look-stupid configuration extensions.
  • Removed the but/let-me-write-stupid-tests configuration extension, these rule overrides are now included in the base configuration for all .spec.{js,cjs,mjs} and .test.{js, cjs, mjs} files.
lsphillips
published 10.1.1 •

Changelog

Source

10.1.1 - 2024-05-26

The package repository has moved and it's now reflected in the package metadata; this version contains no functionality changes.

lsphillips
published 10.1.0 •

Changelog

Source

10.1.0 - 2024-02-25

Added

  • Switched the vue/enforce-style-attribute, vue/no-restricted-v-on and vue/require-explicit-slots rules off.

Changed

  • Updated the minimum required eslint version to 8.57.0.
  • Updated the minimum required eslint-plugin-vue version to 9.22.0.
lsphillips
published 10.0.0 •

Changelog

Source

10.0.0 - 2024-01-08

Added

  • Switched the vue/no-unused-emit-declarations rule on, ensuring that all emit declarations are used.
  • Switched the vue/v-if-else-key rule on, ensuring that repeated components rendered within the same conditional scope have a key assigned to them.
  • The @stylistic/eslint-plugin-js is now a required peer dependency. This now powers the stylistic rules previously defined by eslint.

Changed

  • Updated the max-depth rule configuration, increasing the maximum allowed depth to 4.
  • Updated the minimum required eslint version to 8.56.0.
  • Updated the minimum required eslint-plugin-import version to 2.29.1.
  • Updated the minimum required eslint-plugin-vue version to 9.19.2.
lsphillips
published 9.5.1 •

Changelog

Source

9.5.1 - 2023-10-08

Added

  • Switched the no-object-constructor rule on. This replaces the deprecated no-new-object rule; disallowing the use of the Object constructor.

Removed

  • Removed configuration for the no-new-object rule as it is now deprecated.
lsphillips
published 9.5.0 •

Changelog

Source

9.5.0 - 2023-09-03

Added

  • Switched the vue/max-lines-per-block and vue/no-use-v-else-with-v-for rules off.
  • Switched the vue/block-order rule on to enforce the same order enforced by the removed vue/component-tags-order rule configuration.
  • Switched the vue/no-console rule on, enforcing the same rules as the no-console rule in template expressions.
  • Switched the vue/no-deprecated-model-definition rule on, disallowing the usage of the deprecated model component option.
  • Switched the vue/no-ref-object-reactivity-loss rule on to disallow ref usage that will result in lose of reactivity.
  • Switched the vue/no-setup-props-reactivity-loss rule on, disallowing usage of props during component setup that would will result in lose of reactivity.
  • Switched the vue/require-macro-variable-name rule on, enforcing the default macro variable names.
  • Switched the vue/require-typed-object-prop rule on, enforcing type declarations for non-primitive object props.
  • Switched the vue/require-typed-ref rule on to ensure a generic type parameter is provided to ref() and shallowRef() when no initial value is provided.

Removed

  • Removed configuration for the no-return-await rule as it is now deprecated.
  • Removed configuration for the vue/component-tags-order, vue/no-setup-props-destructure and vue/no-ref-object-destructure rules as they are now deprecated.
lsphillips
published 9.4.0 •

Changelog

Source

9.4.0 - 2023-06-04

Added

  • Switched the vue/no-root-v-if rule off.
  • Switched the vue/prefer-define-options rule on to prefer using the defineOptions() macro instead of the default export. This rule is switched off when using the protect-me-from-my-stupidity/but/let-my-vue-components-look-stupid configuration.
  • Switched the vue/valid-define-options rule on to ensure the usage of the defineOptions() macro is correct.

Changed

  • Made the eslint-plugin-vue and eslint-plugin-node peer dependencies optional.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc