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

1345

9.3.0

Diff

Changelog

Source

9.3.0 - 2023-02-26

Added

  • Switched the vue/padding-lines-in-component-definition and import/consistent-type-specifier-style rules off.
  • Switched the import/no-empty-named-blocks rule on to ensure there are no empty named import blocks.
  • Configured the vue/array-element-newline rule to match the array-element-newline rule.

Changed

  • Updated the minimum required eslint version to 8.35.0.
  • Updated the minimum required eslint-plugin-import version to 2.27.5.
  • Updated the minimum required eslint-plugin-vue version to 9.9.0.
lsphillips
published 9.2.0 •

Changelog

Source

9.2.0 - 2022-12-04

Added

  • Switched the logical-assignment-operators rule off.
  • Switched the no-empty-static-block rule on, but it is switched off in the protect-me-from-my-stupidity/but/let-my-code-look-stupid configuration.
  • Switched the no-new-native-nonconstructor rule on to ensure Symbol and BigInt instances are not being created using the new operator.
  • Switched the promise/no-multiple-resolved rule on to ensure there are no code paths that may lead to a promise being resolved multiple times.
  • Switched the vue/define-emits-declaration and vue/define-emits-declaration rules off.
  • Configured the vue/multiline-ternary rule to match the multiline-ternary rule.
  • Switched the vue/no-ref-object-destructure on to ensure you don't destructure reference objects that leads to losing reactivity.
  • Switched the vue/no-required-prop-with-default on to ensure that required props don't have a default value, as it's redundant.
  • Switched the vue/padding-line-between-tags and vue/require-prop-comment rules off.
  • Switched the vue/v-on-handler-style on to only allow the use of method handlers with inline handlers where applicable. This is switched off in the protect-me-from-my-stupidity/but/let-my-code-look-stupid configuration.

Removed

  • Removed configuration for the vue/v-on-function-call rule, as it's now deprecated.
lsphillips
published 9.1.1 •

Changelog

Source

9.1.1 - 2022-09-01

Changed

  • Switched the no-eq-null rule off.
  • Updated the eqeqeq rule to not apply in cases where it is not necessary, including with comparisons involving null.
  • Switched the vue/no-v-model-argument rule off.
  • Updated the vue/component-api-style rule to only allow the use of the options API or the composition API in setup scripts.
lsphillips
published 9.1.0 •

Changelog

Source

9.1.0 - 2022-08-31

Changed

  • Updated the minimum required eslint version to 8.23.0.
  • Updated the minimum required eslint-plugin-promise version to 6.0.1.
  • Updated the minimum required eslint-plugin-vue version to 9.4.0.

Fixed

  • Switched the vue/block-lang rule off.
lsphillips
published 9.0.0 •

Changelog

Source

9.0.0 - 2022-07-01

Changed

  • Updated the minimum required eslint version to 8.18.0.
  • Updated the minimum required eslint-plugin-import version to 8.26.0.
  • Updated the minimum required eslint-plugin-vue version to 9.1.1.
  • Switched the no-constant-binary-expression rule on; disallowing expressions where the operator doesn't affect the value.
  • Switched the vue/define-macros-order, vue/no-restricted-html-elements and vue/prefer-prop-type-boolean-first rules off.
  • Switched the vue/match-component-import-name rule on; ensuring that the component registration matches the component import name.
  • Switched the vue/valid-attribute-name and vue/valid-model-definition rules on; ensuring attribute names and model definitions are valid.

Removed

  • Removed configuration for the vue/no-invalid-model-keys and vue/script-setup-uses-vars rules, as they are now deprecated.
lsphillips
published 8.1.1 •

Changelog

Source

8.1.1 - 2022-04-20

Changed

  • Updated the indent rule to not be enforced in string literals.
lsphillips
published 8.1.0 •

Changelog

Source

8.1.0 - 2022-03-29

Changed

  • Updated the minimum required eslint version to 8.12.0.
  • Updated the minimum required eslint-plugin-vue version to 8.5.0.
  • Updated the minimum required eslint-plugin-import version to 2.25.4.
  • Switched the no-cond-assign, promise/prefer-await-to-then and vue/no-undef-components rules off.
  • The lines-between-class-members rule is no longer applied to single lines.
  • Switched the vue/prefer-import-from-vue rule on to ensure all imports come from the vue module.
  • Switched the vue/prefer-true-attribute-shorthand rule on to prefer boolean attribute shorthands. This is switched off in the protect-me-from-my-stupidity/but/let-my-vue-components-look-stupid configuration.
  • Switched the vue/object-shorthand and vue/quote-props rules on to enforce their base eslint counterpart in template expressions.
lsphillips
published 8.0.0 •

Changelog

Source

8.0.0 - 2021-12-27

Added

  • Switched the no-unused-private-class-members rule on to ensure all private class properties are not left unused.
  • Switched the prefer-object-has-own rule on to ensure Object.hasOwn() is used instead of Object.prototype.hasOwnProperty.call().
  • Switched the import/no-import-module-exports rule on to prevent mixing import declarations with CommonJS exports.
  • Switched the vue/block-lang rule on to ensure a script's language is configured explicitly to js.
  • Switched the vue/component-api-style rule on to only allow the Composition and Options API to be utilised.
  • Switched the vue/component-options-name-casing rule on to ensure all components are referenced using kebab-case.
  • Switched the vue/no-child-content rule on to prevent a component's child content from being overwritten by content modifying attributes.
  • Switched the vue/no-computed-properties-in-data rule on to prevent the use of computed properties during component data initialization.
  • Switched the vue/no-export-in-script-setup rule on to prevent setup scripts from exporting.
  • Switched the vue/no-expose-after-await rule on to ensure all properties are exposed synchronously.
  • Switched the vue/no-reserved-props rule on to prevent props being defined with names reserved by Vue.
  • Switched the vue/no-this-in-before-route-enter rule on to prevent the use of this in the beforeRouteEnter router guard.
  • Switched the vue/no-undef-properties rule on to prevent the use of props that are not explicitly defined.
  • Switched the vue/no-use-computed-property-like-method rule on to ensure computed properties are not used as functions.
  • Switched the vue/no-v-text rule on to prevent the use of the v-text attribute.
  • Switched the vue/prefer-separate-static-class rule on to ensure static classes and dynamic classes are assigned using separate class attributes.
  • Switched the vue/valid-define-emits and vue/valid-define-props rules on to ensure all defineEmits and defineProps compiler macros are valid.
  • Switched the vue/valid-v-memo rule on to ensure all v-memo directives are valid.

Changed

  • Updated the ECMAScript version to 13 (2022).
  • Updated the minimum required eslint version to 8.5.0.
  • Updated the minimum required eslint-plugin-import version to 5.25.3.
  • Updated the minimum required eslint-plugin-promise version to 6.0.0.
  • Updated the minimum required eslint-plugin-vue version to 8.2.0.
  • The no-loss-of-precision rule is now applied to expressions in Vue component templates.
  • The no-unused-vars rule now correctly detects usage of setup script variables in Vue component templates.
  • Switched the import/default rule off as it was resulting in too many false positives.
lsphillips
published 7.2.2 •

Changelog

Source

7.2.2 - 2021-05-16

Changed

  • Removed unnecessary files from the package making it more lightweight.
lsphillips
published 7.2.1 •

Changelog

Source

7.2.1 - 2021-05-15

Changed

  • Updated the .cjs file override to ensure the commonjs environment is enabled.
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