@ainou/code-style
Advanced tools
Comparing version 0.0.29 to 0.1.0
{ | ||
"name": "@ainou/code-style", | ||
"version": "0.0.29", | ||
"main": "src/index.js", | ||
"version": "0.1.0", | ||
"main": "src/index.mjs", | ||
"type": "module", | ||
"files": [ | ||
@@ -15,21 +16,15 @@ "src" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/eslint-parser": "^7.16.3", | ||
"@rushstack/eslint-patch": "^1.1.0", | ||
"eslint-plugin-react": "^7.27.1", | ||
"eslint-plugin-react-hooks": "^4.3.0", | ||
"eslint-config-prettier": "^8.3.0" | ||
"devDependencies": { | ||
"@eslint/js": ">=9", | ||
"@types/node": ">=20", | ||
"eslint": ">=9", | ||
"eslint-config-prettier": "*", | ||
"eslint-plugin-prettier": "*", | ||
"eslint-plugin-react": "*", | ||
"eslint-plugin-react-hooks": "*", | ||
"prettier": "*", | ||
"typescript": "*", | ||
"typescript-eslint": "*" | ||
}, | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": "*", | ||
"@typescript-eslint/parser": "*", | ||
"eslint": "*", | ||
"typescript": "*" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.5.0", | ||
"@typescript-eslint/parser": "^5.5.0" | ||
} | ||
"license": "MIT" | ||
} |
#!/usr/bin/env node | ||
// @ts-check | ||
/// <reference types="@types/node" /> | ||
const nodeVersion = '20' | ||
@@ -28,4 +31,2 @@ | ||
'eslint', | ||
'@typescript-eslint/parser', | ||
'@typescript-eslint/eslint-plugin', | ||
'prettier', | ||
@@ -55,12 +56,13 @@ 'typescript', | ||
"printWidth": 120 | ||
}`) | ||
} | ||
`) | ||
fs.writeFileSync('.eslintrc.cjs', `module.exports = { | ||
root: true, | ||
extends: require.resolve('@ainou/code-style'), | ||
parserOptions: { | ||
// tsconfigRootDir: __dirname, | ||
// project: ['./tsconfig.eslint.json'], | ||
fs.writeFileSync('eslint.config.mjs', `import ainouCodeStyle from '@ainou/code-style' | ||
export default [...ainouCodeStyle] | ||
`) | ||
if (fs.existsSync('.eslintrc.cjs')) { | ||
fs.unlinkSync('.eslintrc.cjs') | ||
} | ||
}`) | ||
@@ -67,0 +69,0 @@ if (!fs.existsSync('.nvmrc')) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
0
Yes
7426
10
196
2
- Removed@babel/core@^7.16.0
- Removed@babel/eslint-parser@^7.16.3
- Removed@rushstack/eslint-patch@^1.1.0
- Removedeslint-config-prettier@^8.3.0
- Removedeslint-plugin-react@^7.27.1
- Removedeslint-plugin-react-hooks@^4.3.0
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.3(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/eslint-parser@7.25.9(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@eslint-community/eslint-utils@4.4.1(transitive)
- Removed@eslint-community/regexpp@4.12.1(transitive)
- Removed@eslint/config-array@0.19.1(transitive)
- Removed@eslint/core@0.9.1(transitive)
- Removed@eslint/eslintrc@2.1.43.2.0(transitive)
- Removed@eslint/js@8.57.19.17.0(transitive)
- Removed@eslint/object-schema@2.1.5(transitive)
- Removed@eslint/plugin-kit@0.2.4(transitive)
- Removed@humanfs/core@0.19.1(transitive)
- Removed@humanfs/node@0.16.6(transitive)
- Removed@humanwhocodes/config-array@0.13.0(transitive)
- Removed@humanwhocodes/module-importer@1.0.1(transitive)
- Removed@humanwhocodes/object-schema@2.0.3(transitive)
- Removed@humanwhocodes/retry@0.3.10.4.1(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1(transitive)
- 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@rushstack/eslint-patch@1.10.4(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removed@typescript-eslint/eslint-plugin@8.18.2(transitive)
- Removed@typescript-eslint/parser@8.18.2(transitive)
- Removed@typescript-eslint/scope-manager@8.18.2(transitive)
- Removed@typescript-eslint/type-utils@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)
- Removed@ungap/structured-clone@1.2.1(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-jsx@5.3.2(transitive)
- Removedajv@6.12.6(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@2.0.1(transitive)
- Removedarray-buffer-byte-length@1.0.2(transitive)
- Removedarray-includes@3.1.8(transitive)
- Removedarray.prototype.findlast@1.2.5(transitive)
- Removedarray.prototype.flat@1.3.3(transitive)
- Removedarray.prototype.flatmap@1.3.3(transitive)
- Removedarray.prototype.tosorted@1.1.4(transitive)
- Removedarraybuffer.prototype.slice@1.0.4(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.112.0.1(transitive)
- Removedbraces@3.0.3(transitive)
- Removedbrowserslist@4.24.3(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedcaniuse-lite@1.0.30001690(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removeddata-view-buffer@1.0.2(transitive)
- Removeddata-view-byte-length@1.0.2(transitive)
- Removeddata-view-byte-offset@1.0.1(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removeddoctrine@2.1.03.0.0(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedelectron-to-chromium@1.5.76(transitive)
- Removedes-abstract@1.23.7(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-iterator-helpers@1.2.1(transitive)
- Removedes-object-atoms@1.0.0(transitive)
- Removedes-set-tostringtag@2.0.3(transitive)
- Removedes-shim-unscopables@1.0.2(transitive)
- Removedes-to-primitive@1.3.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedeslint@8.57.19.17.0(transitive)
- Removedeslint-config-prettier@8.10.0(transitive)
- Removedeslint-plugin-react@7.37.3(transitive)
- Removedeslint-plugin-react-hooks@4.6.2(transitive)
- Removedeslint-scope@5.1.17.2.28.2.0(transitive)
- Removedeslint-visitor-keys@2.1.03.4.34.2.0(transitive)
- Removedespree@10.3.09.6.1(transitive)
- Removedesquery@1.6.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@4.3.05.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfastq@1.18.0(transitive)
- Removedfile-entry-cache@6.0.18.0.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat-cache@3.2.04.0.1(transitive)
- Removedflatted@3.3.2(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedfunction.prototype.name@1.1.8(transitive)
- Removedfunctions-have-names@1.2.3(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedget-intrinsic@1.2.6(transitive)
- Removedget-symbol-description@1.1.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-parent@5.1.26.0.2(transitive)
- Removedglobals@11.12.013.24.014.0.0(transitive)
- Removedglobalthis@1.0.4(transitive)
- Removedgopd@1.2.0(transitive)
- Removedgraphemer@1.4.0(transitive)
- Removedhas-bigints@1.1.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.2.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinternal-slot@1.1.0(transitive)
- Removedis-array-buffer@3.0.5(transitive)
- Removedis-async-function@2.0.0(transitive)
- Removedis-bigint@1.1.0(transitive)
- Removedis-boolean-object@1.2.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-data-view@1.0.2(transitive)
- Removedis-date-object@1.1.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-finalizationregistry@1.1.1(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-map@2.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-number-object@1.1.1(transitive)
- Removedis-path-inside@3.0.3(transitive)
- Removedis-regex@1.2.1(transitive)
- Removedis-set@2.0.3(transitive)
- Removedis-shared-array-buffer@1.0.4(transitive)
- Removedis-string@1.1.1(transitive)
- Removedis-symbol@1.1.1(transitive)
- Removedis-typed-array@1.1.15(transitive)
- Removedis-weakmap@2.0.2(transitive)
- Removedis-weakref@1.1.0(transitive)
- Removedis-weakset@2.0.4(transitive)
- Removedisarray@2.0.5(transitive)
- Removedisexe@2.0.0(transitive)
- Removediterator.prototype@1.1.4(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stable-stringify-without-jsonify@1.0.1(transitive)
- Removedjson5@2.2.3(transitive)
- Removedjsx-ast-utils@3.3.5(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlevn@0.4.1(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedminimatch@3.1.29.0.5(transitive)
- Removedms@2.1.3(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removednode-releases@2.0.19(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.assign@4.1.7(transitive)
- Removedobject.entries@1.1.8(transitive)
- Removedobject.fromentries@2.0.8(transitive)
- Removedobject.values@1.2.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedoptionator@0.9.4(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedprelude-ls@1.2.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreflect.getprototypeof@1.0.9(transitive)
- Removedregexp.prototype.flags@1.5.3(transitive)
- Removedresolve@2.0.0-next.5(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedsafe-array-concat@1.1.3(transitive)
- Removedsafe-regex-test@1.1.0(transitive)
- Removedsemver@6.3.17.6.3(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedset-function-name@2.0.2(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedstring.prototype.matchall@4.0.12(transitive)
- Removedstring.prototype.repeat@1.0.0(transitive)
- Removedstring.prototype.trim@1.2.10(transitive)
- Removedstring.prototype.trimend@1.0.9(transitive)
- Removedstring.prototype.trimstart@1.0.8(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtext-table@0.2.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedts-api-utils@1.4.3(transitive)
- Removedtype-check@0.4.0(transitive)
- Removedtype-fest@0.20.2(transitive)
- Removedtyped-array-buffer@1.0.3(transitive)
- Removedtyped-array-byte-length@1.0.3(transitive)
- Removedtyped-array-byte-offset@1.0.4(transitive)
- Removedtyped-array-length@1.0.7(transitive)
- Removedtypescript@5.7.2(transitive)
- Removedunbox-primitive@1.1.0(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwhich-boxed-primitive@1.1.1(transitive)
- Removedwhich-builtin-type@1.2.1(transitive)
- Removedwhich-collection@1.0.2(transitive)
- Removedwhich-typed-array@1.1.18(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyallist@3.1.1(transitive)
- Removedyocto-queue@0.1.0(transitive)