New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
1
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

1245

7.2.0

Diff

Changelog

Source

7.2.0 - 2021-05-15

Changed

  • All configuration sets are now explicit module entry points.
lsphillips
published 7.1.2 •

Changelog

Source

7.1.2 - 2021-05-11

Changed

  • Switched the node/no-unsupported-features/es-builtins, node/no-unsupported-features/es-syntax and node/no-unsupported-features/node-builtins rules off.
lsphillips
published 7.1.1 •

Changelog

Source

7.1.1 - 2021-05-11

Fixed

  • Fixed a misconfiguration where files with the .js extension are not treated as ES modules.
lsphillips
published 7.1.0 •

Changelog

Source

7.1.0 - 2021-05-11

Added

  • Introduced an override that ensures files with the .cjs extension are not treated as ES modules.
lsphillips
published 7.0.0 •

Changelog

Source

7.0.0 - 2021-05-08

Added

  • Switched the no-unsafe-optional-chaining rule on to prohibit the use of optional chaining where undefined is not allowed, this includes arithmetic operations.
  • Switched the vue/no-unused-refs rule on to ensure all defined refs are utilised.
  • Switched the vue/no-invalid-model-keys rule on to ensure component model definitions are correct.
  • Switched the vue/valid-next-tick and vue/next-tick-style rules on to ensure correct vm.$nextTick and Vue.nextTick usage, this includes prohibiting the use of the callback style in favour of the promise style.
  • Switched the vue/html-button-has-type on, prohibiting buttons from not having an explicit type.
  • Switched the vue/no-restricted-block, vue/no-restricted-call-after-await, vue/no-restricted-custom-event and vue/no-restricted-props rules off.
  • Switched the vue/new-line-between-multi-line-property and vue/v-on-event-hyphenation style rules on. They are switched off when using the protect-me-from-my-stupidity/but/let-my-vue-components-look-stupid configuration.

Changed

  • Updated the minimum required eslint version to 7.26.0.
  • Updated the minimum required eslint-plugin-promise version to 5.1.0.
  • Updated the minimum required eslint-plugin-vue version to 7.9.0.
lsphillips
published 6.0.0 •

Changelog

Source

6.0.0 - 2020-11-29

Added

  • Introduced eslint-plugin-node as a new optional plugin dependency.
  • Introduced new rule configurations for writing Node applications: protect-me-from-my-stupidity/and/from-writing-stupid-node-applications and protect-me-from-my-stupidity/but/let-my-node-applications-look-stupid.
  • Switched the no-nonoctal-decimal-escape rule on to prohibit the use of non-octal decimal escape sequences.

Changed

  • Updated the ECMAScript version to 12 (2021).
  • Updated the minimum required eslint version to 7.12.1.
  • Updated the minimum required eslint-plugin-import version to 2.22.1.
  • Updated the minimum required eslint-plugin-promise version to 4.2.1.
  • Updated the minimum required eslint-plugin-vue version to 7.1.0.

Removed

  • JSX is no longer enabled in the parser options.
  • Removed all Node.js related rules that were deprecated in ESLint v7.0.
lsphillips
published 5.1.0 •

Changelog

Source

5.1.0 - 2020-01-28

Changed

  • Stopped defining the parser in the protect-me-from-my-stupidity/and/from-writing-stupid-vue-components configuration.
lsphillips
published 5.0.0 •

Changelog

Source

5.0.0 - 2020-01-25

Added

  • Switched the default-case rule on to prohibit switch statements without a default clause.
  • Switched the default-param-last rule on to enforce that defaults are only defined for tail parameters.
  • Switched the grouped-accessor-pairs rule on to enforce that getter/setter pairs are defined adjacently with the getter defined first.
  • Switched the no-constructor-return rule to to prohibit return statements in constructors.
  • Switched the no-dupe-else-if rule on to prohibit duplicate conditions in if-else-if chains.
  • Switched the no-dupe-keys rule on to prohibit duplicate keys in object definitions.
  • Switched the no-import-assign rule on to prohibit import bindings being assigned.
  • Switched the no-setter-return rule on to prohibit setters from returning a value.
  • Switched the no-useless-computed-key rule on to prohibit pointless computed keys.
  • Switched the no-useless-constructor rule on to prohibit constructors that do nothing.
  • Switched the prefer-exponentiation-operator rule to enforce the use of the ** operator instead of Math.pow().
  • Switched the prefer-regex-literals rule on to prohibit the use of the RegExp constructor for non-dynamic regular expressions.
  • Introduced new rule configurations for writing Vue components: protect-me-from-my-stupidity/and/from-writing-stupid-vue-components and protect-me-from-my-stupidity/but/let-my-vue-components-look-stupid.

Changed

  • Switched the spaced-comment, padded-blocks, line-comment-position, max-classes-per-file, prefer-object-spread, import/group-exports and promise/no-callback-in-promise rules off in the protect-me-from-my-stupidity configuration.
  • Updated the ECMAScript version to 11 (2020).
  • Moved the protect-me-from-my-stupidity/but-let-me-write-stupid-tests configuration to protect-me-from-my-stupidity/but/let-me-write-stupid-tests.
  • Moved the protect-me-from-my-stupidity/but-let-my-code-look-stupid configuration to protect-me-from-my-stupidity/but/let-my-code-look-stupid.
  • Switched the arrow-spacing and dot-location rules off in the protect-me-from-my-stupidity/but/let-my-code-look-stupid configuration.

Removed

  • Removed the valid-jsdoc, no-catch-shadow and require-jsdoc deprecated rules.
lsphillips
published 4.0.0 •

Changelog

Source

4.0.0 - 2019-09-02

Added

  • Switched the new no-useless-catch rule on to prohibit catch blocks that just rethrow the error.
  • Switched the new prefer-named-capture-group, function-call-argument-newline and import/no-unused-modules rules off.

Changed

  • Switched the max-len rule off.
  • Switched the max-nested-callbacks rule off in the protect-me-from-my-stupidity/but-let-me-write-stupid-tests configuration.
lsphillips
published 3.2.0 •

Changelog

Source

3.2.0 - 2019-04-27

Changed

  • Updated the array-element-newline rule to just enforce consistency.
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