UNPKG

@shayanthenerd/eslint-config

Version:

A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style

123 lines (122 loc) 4.03 kB
{ "name": "@shayanthenerd/eslint-config", "version": "0.5.0", "license": "MIT", "description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style", "keywords": [ "eslint", "eslint-config", "eslint-flat-config", "eslint-config-vue", "eslint-config-typescript", "oxlint", "oxlint-config" ], "homepage": "https://eslint-config.shayan-zamani.me", "repository": { "type": "git", "url": "git+https://github.com/ShayanTheNerd/eslint-config.git" }, "bugs": { "url": "https://github.com/ShayanTheNerd/eslint-config/issues/new?template=bug_report.md" }, "author": { "name": "Shayan Zamani", "email": "dev.shayan.zamani@gmail.com", "url": "https://github.com/ShayanTheNerd" }, "funding": "https://buymeacoffee.com/shayanthenerd", "engines": { "node": ">=20.12.0" }, "files": [ "./dist" ], "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js", "./package.json": "./package.json", "./types/*": "./dist/types/*", "./oxlint": "./dist/oxlint.config.jsonc", "./prettier": "./dist/prettier.config.js" }, "publishConfig": { "access": "public" }, "imports": { "#utils/*": "./src/utils/*", "#types/*": "./src/types/*", "#rules/*": "./src/rules/*", "#configs/*": "./src/configs/*" }, "type": "module", "packageManager": "bun@1.2.19", "scripts": { "prepare": "bun set:gitmessage && bunx simple-git-hooks && bun generate:types", "prepublishOnly": "bun build:package", "set:gitmessage": "git config --local commit.template \".gitmessage\"", "inspect": "bunx @eslint/config-inspector", "build:package": "tsdown --no-report", "build:inspector": "bunx @eslint/config-inspector build --config=./scripts/defaultESLintConfigReference.ts", "preview:inspector": "bunx serve .eslint-config-inspector", "generate:types": "bun ./scripts/generateESLintTypes.ts", "format": "prettier --write '**/*.{json,jsonc,yaml,yml,lock}' --cache", "lint:oxlint": "oxlint --fix", "lint:eslint": "eslint --fix --cache --cache-location=./node_modules/.cache/.eslintcache", "lint": "bun lint:oxlint && bun lint:eslint", "check:types": "tsc", "check:exports": "bunx @arethetypeswrong/cli --pack --profile=esm-only --exclude-entrypoints=./oxlint", "check:spell": "bunx cspell . --gitignore --cache --cache-location=./node_modules/.cache/.cspellcache", "ci:validate": "bun generate:types && bun format && bun lint && bun check:types && bun build:inspector && bun build:package && bun check:exports" }, "simple-git-hooks": { "pre-commit": "./node_modules/.bin/nano-staged" }, "nano-staged": { "**/*.{json,jsonc,yaml,yml,lock}": "prettier --write --ignore-unknown --cache", "**/*.{js,ts}": [ "oxlint --fix", "eslint --fix --cache --cache-location=./node_modules/.cache/.eslintcache" ] }, "dependencies": { "@eslint/compat": "1.3.1", "@eslint/css": "0.10.0", "@eslint/js": "9.32.0", "@html-eslint/eslint-plugin": "0.43.1", "@stylistic/eslint-plugin": "5.2.2", "@vitest/eslint-plugin": "1.3.4", "defu": "6.1.4", "eslint": "9.32.0", "eslint-flat-config-utils": "2.1.1", "eslint-import-resolver-typescript": "4.4.4", "eslint-plugin-better-tailwindcss": "3.7.2", "eslint-plugin-cypress": "5.1.0", "eslint-plugin-import-x": "4.16.1", "eslint-plugin-oxlint": "1.9.0", "eslint-plugin-perfectionist": "4.15.0", "eslint-plugin-playwright": "2.2.1", "eslint-plugin-storybook": "9.0.18", "eslint-plugin-unused-imports": "4.1.4", "eslint-plugin-vue": "10.3.0", "eslint-plugin-vuejs-accessibility": "2.4.1", "globals": "16.3.0", "local-pkg": "1.1.1", "oxlint": "1.9.0", "tailwind-csstree": "0.1.2", "typescript-eslint": "8.38.0" }, "devDependencies": { "@types/node": "24.1.0", "eslint-typegen": "2.3.0", "lint-staged": "16.1.2", "nano-staged": "0.8.0", "prettier": "3.6.2", "publint": "0.3.12", "tsdown": "0.13.0", "typescript": "5.8.3", "unplugin-unused": "0.5.1" } }