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

eslint-config-noise

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-noise - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0

8

base/rules/plugin-unicorn.js

@@ -192,2 +192,6 @@ 'use strict';

// Prefer `EventTarget` over `EventEmitter`
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md
'unicorn/prefer-event-target': 'error',
// Prefer `export…from` when re-exporting

@@ -201,2 +205,6 @@ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md

// Prefer using a logical operator over a ternary
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md
'unicorn/prefer-logical-operator-over-ternary': 'error',
// Enforce the use of `Math.trunc` instead of bitwise operators

@@ -203,0 +211,0 @@ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-math-trunc.md

2

node/index.js

@@ -83,4 +83,4 @@ 'use strict';

// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
// 'unicorn/prefer-node-protocol': 'error',
'unicorn/prefer-node-protocol': 'error',
},
};
{
"name": "eslint-config-noise",
"version": "0.27.0",
"version": "0.28.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

@@ -16,3 +16,3 @@ # ESLint config noise

```sh
npm install --save-dev eslint@^8.5 eslint-config-noise eslint-plugin-import@^2.25 eslint-plugin-promise@^6.0 eslint-plugin-unicorn@^42.0
npm install --save-dev eslint@^8.8 eslint-config-noise eslint-plugin-import@^2.27 eslint-plugin-promise@^6.0 eslint-plugin-unicorn@^43.0
```

@@ -19,0 +19,0 @@

@@ -21,3 +21,5 @@ 'use strict';

'valid-jsdoc': 'off',
'import/no-unresolved': 'off',
},
};

@@ -5,3 +5,12 @@ 'use strict';

settings: {
'import/extensions': ['.cjs', '.js', '.jsx', '.mjs', '.ts', '.tsx'],
'import/extensions': [
'.cjs',
'.cts',
'.js',
'.jsx',
'.mjs',
'.mts',
'.ts',
'.tsx',
],
'import/parsers': {

@@ -8,0 +17,0 @@ '@typescript-eslint/parser': ['.ts', '.tsx'],

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