@creo-team/eslint-config 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,7 +170,7 @@ Install [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-un
|
|
|
170
170
|
```javascript
|
|
171
171
|
const { createConfig } = require('@creo-team/eslint-config')
|
|
172
172
|
const { error, FilenameCase, FilesPattern } = require('@creo-team/eslint-config/constants')
|
|
173
|
-
const unicorn = require('eslint-plugin-unicorn')
|
|
173
|
+
const { default: unicorn } = require('eslint-plugin-unicorn') // ESM-only; require(esm) returns the module namespace
|
|
174
174
|
|
|
175
175
|
const base = createConfig()
|
|
176
176
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@creo-team/eslint-config","version":"5.0.
|
|
1
|
+
{"name":"@creo-team/eslint-config","version":"5.0.1","description":"ESLint flat config: TypeScript (strict), Prettier, JSDoc, complexity, no-magic-numbers. createConfig() for options.","author":"Colten Krauter <coltenkrauter>","main":"dist/eslint.config.js","homepage":"https://github.com/creo-team/eslint-config","repository":{"type":"git","url":"git+https://github.com/creo-team/eslint-config.git"},"scripts":{"build":"tsc","fix":"npm run lint -- --fix","lint":"npx eslint .","prepublishOnly":"npm run build && npm run test:types","test":"vitest run && npm run lint","test:types":"tsc -p test/types","test:watch":"vitest","typecheck":"tsc --noEmit","upgrade:all":"npx npm-check-updates --upgrade && npm install"},"keywords":["eslint","eslint-config","creo-team","flat-config","typescript","prettier","jsdoc","linting","lint"],"license":"ISC","dependencies":{"@eslint/js":"^10.0.1","@stylistic/eslint-plugin":"^5.10.0","eslint":"^10.12.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^65.3.1","eslint-plugin-perfectionist":"^5.12.1","eslint-plugin-prettier":"^5.5.6","typescript":"npm:@typescript/typescript6@^6.0.2","typescript-eslint":"^8.71.2"},"files":["dist/eslint.config.js","dist/index.mjs","dist/rules.js","dist/utils.js","dist/constants.js","dist/structure.js","dist/*.d.ts","dist/*.d.mts","dist/*.js.map","dist/*.mjs.map"],"type":"commonjs","devDependencies":{"@typescript/native":"npm:typescript@^7.0.2","react":"^19.3.0","react-dom":"^19.3.0","vite":"^8.3.4","vitest":"^5.0.4"},"engines":{"node":"^22.22.2 || >=24.15.0","npm":">=10"},"publishConfig":{"access":"public"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/eslint.config.js","default":"./dist/eslint.config.js"},"./constants":{"require":"./dist/constants.js","default":"./dist/constants.js"}}}
|