xo
Version:
JavaScript/TypeScript linter (ESLint wrapper) with great defaults
153 lines (152 loc) • 3.28 kB
JSON
{
"name": "xo",
"version": "2.0.2",
"description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
"license": "MIT",
"repository": "xojs/xo",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"bin": "./dist/cli.js",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"sideEffects": false,
"engines": {
"node": ">=20.19"
},
"scripts": {
"build": "npm run clean && tsc",
"build:watch": "tsc --watch",
"clean": "rm -rf dist",
"lint": "node dist/cli.js",
"prepare": "npm run build && husky",
"release": "np",
"test": "npm run build && npm run lint && npm run test:setup && ava",
"test:setup": "node scripts/setup-tests"
},
"files": [
"dist/lib/*.js",
"dist/lib/*.d.ts",
"dist/lib/rules/*.js",
"dist/lib/rules/*.d.ts",
"dist/*.js",
"dist/*.d.ts"
],
"keywords": [
"cli-app",
"cli",
"xo",
"xoxo",
"happy",
"happiness",
"code",
"quality",
"style",
"lint",
"linter",
"jshint",
"jslint",
"eslint",
"validate",
"code style",
"standard",
"strict",
"check",
"checker",
"verify",
"enforce",
"hint",
"simple",
"javascript",
"typescript"
],
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
"@eslint/compat": "^2.0.2",
"@sindresorhus/tsconfig": "^8.1.0",
"arrify": "^3.0.0",
"cosmiconfig": "^9.0.0",
"define-lazy-prop": "^3.0.0",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-config-xo-react": "^0.29.0",
"eslint-config-xo-typescript": "^10.0.0",
"eslint-formatter-pretty": "^7.0.0",
"eslint-plugin-ava": "^16.0.0",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-unicorn": "^63.0.0",
"find-cache-directory": "^6.0.0",
"get-stdin": "^10.0.0",
"get-tsconfig": "^4.13.6",
"globals": "^17.3.0",
"globby": "^16.1.1",
"meow": "^14.1.0",
"micromatch": "^4.0.8",
"open-editor": "^6.0.0",
"path-exists": "^5.0.0",
"prettier": "^3.8.1",
"type-fest": "^5.4.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"devDependencies": {
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@types/micromatch": "^4.0.10",
"@types/node": "^25.2.1",
"@types/prettier": "^3.0.0",
"ava": "^7.0.0",
"dedent": "^1.7.1",
"execa": "^9.6.1",
"husky": "^9.1.7",
"lint-staged": "^16.3.4",
"np": "^11.0.2",
"npm-package-json-lint": "^9.1.0",
"npm-package-json-lint-config-default": "^8.0.1",
"prettier-plugin-packagejson": "^3.0.0",
"temp-dir": "^3.0.0",
"xo": "file:."
},
"ava": {
"files": [
"dist/test/**/*.js",
"!dist/test/fixtures/**",
"!dist/test/helpers/**",
"!dist/test/scripts/**"
],
"nodeArguments": [
"--enable-source-maps"
],
"timeout": "1m",
"verbose": true,
"watchMode": {
"ignoreChanges": [
".history",
".history/**/*",
"node_modules",
"package.json",
"xo.config.*",
"**/*.ts"
]
}
},
"nyc": {
"reporter": [
"text",
"lcov"
]
},
"xo": {
"rules": {
"ava/no-ignored-test-files": "off"
}
}
}