eslint-config-noise
Advanced tools
Comparing version 0.27.0 to 0.28.0
@@ -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 |
@@ -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'], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111507
2357