UNPKG

@sanity/eslint-config-studio

Version:

The ESLint configuration that ships with new Sanity Studio projects. Designed to be relatively unobtrusive to help find bugs instead enforce opinions.

59 lines (58 loc) 1.7 kB
{ "name": "@sanity/eslint-config-studio", "version": "6.0.0", "description": "The ESLint configuration that ships with new Sanity Studio projects. Designed to be relatively unobtrusive to help find bugs instead enforce opinions.", "keywords": [ "sanity", "eslint" ], "homepage": "https://www.sanity.io/", "bugs": { "url": "https://github.com/sanity-io/eslint-config-studio/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sanity-io/eslint-config-studio.git" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "type": "module", "main": "index.js", "files": [ "confusingBrowserGlobals.js", "eslint.config.js", "index.js" ], "scripts": { "lint": "eslint . --max-warnings=0", "prepare": "node -e \"require('fs').writeFileSync('./confusingBrowserGlobals.js', 'export default ' + JSON.stringify(require('confusing-browser-globals'), null, 2))\" && prettier -w ./confusingBrowserGlobals.js", "test": "vitest", "posttest": "npm run lint" }, "dependencies": { "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1", "typescript-eslint": "^8.50.1" }, "devDependencies": { "@sanity/semantic-release-preset": "^5.0.0", "@types/react": "^19.0.10", "confusing-browser-globals": "^1.0.11", "eslint": "^9.39.2", "prettier": "^3.7.4", "prettier-plugin-packagejson": "^2.5.20", "react": "^19.0.0", "vitest": "^3.0.7" }, "peerDependencies": { "eslint": "^9.0.0" }, "engines": { "node": ">=18.18" }, "publishConfig": { "access": "public", "provenance": true } }