@amedia/eslint-config-base
Advanced tools
Comparing version 0.0.0-flatconfig-20241113185409 to 0.0.0-flatconfig-20241113191247
# @amedia/eslint-config-base | ||
## 0.0.0-flatconfig-20241113185409 | ||
## 0.0.0-flatconfig-20241113191247 | ||
@@ -5,0 +5,0 @@ ### Major Changes |
51
index.js
@@ -1,2 +0,2 @@ | ||
import perfectionist from 'eslint-plugin-perfectionist'; | ||
import eslintPluginImport from 'eslint-plugin-import'; | ||
import eslintPluginUnicorn from 'eslint-plugin-unicorn'; | ||
@@ -102,49 +102,14 @@ import globals from 'globals'; | ||
plugins: { | ||
perfectionist, | ||
import: eslintPluginImport, | ||
}, | ||
files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'], | ||
rules: { | ||
'perfectionist/sort-imports': [ | ||
'error', | ||
{ | ||
type: 'alphabetical', | ||
order: 'asc', | ||
ignoreCase: true, | ||
specialCharacters: 'keep', | ||
matcher: 'minimatch', | ||
internalPattern: ['~/**'], | ||
newlinesBetween: 'always', | ||
maxLineLength: undefined, | ||
groups: [ | ||
'type', | ||
'builtin', | ||
'external', | ||
'internal-type', | ||
'internal', | ||
['parent-type', 'sibling-type', 'index-type'], | ||
['parent', 'sibling', 'index'], | ||
'object', | ||
'unknown', | ||
], | ||
customGroups: { type: {}, value: {} }, | ||
environment: 'node', | ||
}, | ||
], | ||
'perfectionist/sort-named-imports': [ | ||
'error', | ||
{ | ||
type: 'alphabetical', | ||
order: 'asc', | ||
ignoreAlias: false, | ||
ignoreCase: true, | ||
specialCharacters: 'keep', | ||
groupKind: 'types-first', | ||
partitionByNewLine: true, | ||
partitionByComment: false, | ||
matcher: 'minimatch', | ||
}, | ||
], | ||
'import/extensions': ['error', 'ignorePackages'], | ||
'import/order': ['error', { 'newlines-between': 'always' }], | ||
'import/no-useless-path-segments': 'warn', | ||
'import/no-duplicates': 'error', | ||
}, | ||
}, | ||
]; |
{ | ||
"name": "@amedia/eslint-config-base", | ||
"version": "0.0.0-flatconfig-20241113185409", | ||
"version": "0.0.0-flatconfig-20241113191247", | ||
"description": "ESLint configuration to be used by developers at Amedia", | ||
@@ -30,3 +30,3 @@ "type": "module", | ||
"dependencies": { | ||
"eslint-plugin-perfectionist": "3.9.1", | ||
"eslint-plugin-import": "2.31.0", | ||
"eslint-plugin-unicorn": "56.0.0", | ||
@@ -33,0 +33,0 @@ "globals": "13.24.0" |
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
12672
104
+ Addedeslint-plugin-import@2.31.0
+ Added@rtsao/scc@1.1.0(transitive)
+ Added@types/json5@0.0.29(transitive)
+ Addedarray-buffer-byte-length@1.0.2(transitive)
+ Addedarray-includes@3.1.8(transitive)
+ Addedarray.prototype.findlastindex@1.2.5(transitive)
+ Addedarray.prototype.flat@1.3.3(transitive)
+ Addedarray.prototype.flatmap@1.3.3(transitive)
+ Addedarraybuffer.prototype.slice@1.0.4(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddata-view-buffer@1.0.2(transitive)
+ Addeddata-view-byte-length@1.0.2(transitive)
+ Addeddata-view-byte-offset@1.0.1(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddoctrine@2.1.0(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-abstract@1.23.7(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedes-set-tostringtag@2.0.3(transitive)
+ Addedes-shim-unscopables@1.0.2(transitive)
+ Addedes-to-primitive@1.3.0(transitive)
+ Addedeslint-import-resolver-node@0.3.9(transitive)
+ Addedeslint-module-utils@2.12.0(transitive)
+ Addedeslint-plugin-import@2.31.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction.prototype.name@1.1.8(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedget-symbol-description@1.1.0(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-bigints@1.1.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedinternal-slot@1.1.0(transitive)
+ Addedis-array-buffer@3.0.5(transitive)
+ Addedis-async-function@2.0.0(transitive)
+ Addedis-bigint@1.1.0(transitive)
+ Addedis-boolean-object@1.2.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-data-view@1.0.2(transitive)
+ Addedis-date-object@1.1.0(transitive)
+ Addedis-finalizationregistry@1.1.1(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-map@2.0.3(transitive)
+ Addedis-number-object@1.1.1(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedis-set@2.0.3(transitive)
+ Addedis-shared-array-buffer@1.0.4(transitive)
+ Addedis-string@1.1.1(transitive)
+ Addedis-symbol@1.1.1(transitive)
+ Addedis-typed-array@1.1.15(transitive)
+ Addedis-weakmap@2.0.2(transitive)
+ Addedis-weakref@1.1.0(transitive)
+ Addedis-weakset@2.0.4(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson5@1.0.2(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.7(transitive)
+ Addedobject.fromentries@2.0.8(transitive)
+ Addedobject.groupby@1.0.3(transitive)
+ Addedobject.values@1.2.1(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedreflect.getprototypeof@1.0.9(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedsafe-array-concat@1.1.3(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedstring.prototype.trim@1.2.10(transitive)
+ Addedstring.prototype.trimend@1.0.9(transitive)
+ Addedstring.prototype.trimstart@1.0.8(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedtsconfig-paths@3.15.0(transitive)
+ Addedtyped-array-buffer@1.0.3(transitive)
+ Addedtyped-array-byte-length@1.0.3(transitive)
+ Addedtyped-array-byte-offset@1.0.4(transitive)
+ Addedtyped-array-length@1.0.7(transitive)
+ Addedunbox-primitive@1.1.0(transitive)
+ Addedwhich-boxed-primitive@1.1.1(transitive)
+ Addedwhich-builtin-type@1.2.1(transitive)
+ Addedwhich-collection@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.18(transitive)
- Removedeslint-plugin-perfectionist@3.9.1
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@typescript-eslint/scope-manager@8.18.2(transitive)
- Removed@typescript-eslint/types@8.18.2(transitive)
- Removed@typescript-eslint/typescript-estree@8.18.2(transitive)
- Removed@typescript-eslint/utils@8.18.2(transitive)
- Removed@typescript-eslint/visitor-keys@8.18.2(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedbraces@3.0.3(transitive)
- Removedeslint-plugin-perfectionist@3.9.1(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfastq@1.18.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedis-number@7.0.0(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedminimatch@9.0.5(transitive)
- Removednatural-compare-lite@1.4.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedts-api-utils@1.4.3(transitive)
- Removedtypescript@5.7.2(transitive)