UNPKG

@kevinoid/eslint-config

Version:

ESLint shareable config for @kevinoid's style (based on airbnb).

94 lines (93 loc) 3.84 kB
{ "name": "@kevinoid/eslint-config", "version": "33.3.0", "description": "ESLint shareable config for @kevinoid's style (based on airbnb).", "keywords": [ "eslint", "eslintconfig" ], "license": "MIT", "homepage": "https://github.com/kevinoid/eslint-config-kevinoid", "bugs": "https://github.com/kevinoid/eslint-config-kevinoid/issues", "author": "Kevin Locke <kevin@kevinlocke.name>", "repository": { "type": "git", "url": "https://github.com/kevinoid/eslint-config-kevinoid.git" }, "type": "commonjs", "files": [ "*.js", "lib/", "rules/*.js", "!**/.*" ], "exports": { "./browser": "./browser.js", "./browser.js": "./browser.js", "./ie11": "./ie11.js", "./ie11.js": "./ie11.js", "./package.json": "./package.json", "./node": "./nodejs.js", "./node.js": "./nodejs.js", "./nodejs": "./nodejs.js", "./nodejs.js": "./nodejs.js", "./webextensions": "./webextensions.js", "./webextensions.js": "./webextensions.js", "./wsh": "./wsh.js", "./wsh.js": "./wsh.js" }, "//": "All scripts should run in POSIX sh and Windows cmd.exe", "scripts": { "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -u", "lint": "npm run lint-es && npm run lint-rules", "lint-es": "eslint --report-unused-disable-directives . && echo ESLint passed.", "lint-rules": "eslint-find-rules --deprecated", "postpublish": "git push --follow-tags origin main && echo Remember to update GitHub Releases from CHANGELOG.md", "preversion": "depcheck --ignores=\"eslint-*,rimraf\" && david && git-branch-is main && hub-ci-status -vv --wait", "test": "npm run test-peer-versions-ci && npm run lint && npm run test-eslint", "test-eslint": "npm run test-eslint-browser && npm run test-eslint-ie11 && npm run test-eslint-node && npm run test-eslint-webextensions && npm run test-eslint-wsh", "//": "Test that config can be loaded and works on empty input. Note: echo prints 'ECHO is on.' in cmd.exe, : produces no output in cmd.exe or sh.", "test-eslint-browser": ": | eslint --no-eslintrc -c browser.js --stdin", "test-eslint-ie11": ": | eslint --no-eslintrc -c ie11.js --stdin", "test-eslint-node": ": | eslint --no-eslintrc -c nodejs.js --stdin", "test-eslint-webextensions": ": | eslint --no-eslintrc -c webextensions.js --stdin", "test-eslint-wsh": ": | eslint --no-eslintrc -c wsh.js --stdin", "test-peer-versions": "peer-version-check package.json", "test-peer-versions-ci": "npm run test-peer-versions", "version": "npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && \"${npm_config_shell:-${SHELL:-bash}}\" && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md", "version-deps": "npm install conventional-changelog-cli david depcheck git-branch-is hub-ci-status" }, "dependencies": { "globals": "^15.0.0" }, "peerDependencies": { "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-jsdoc": "^50.0.0", "eslint-plugin-n": "^17.1.0", "eslint-plugin-promise": "^7.0.0", "eslint-plugin-regexp": "^2.0.0", "eslint-plugin-unicorn": "^56.0.0" }, "devDependencies": { "eslint": "^8.50.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-find-rules": "^4.0.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jsdoc": "^50.0.0", "eslint-plugin-n": "^17.1.0", "eslint-plugin-promise": "^7.0.0", "eslint-plugin-regexp": "^2.0.0", "eslint-plugin-unicorn": "^56.0.0", "peer-version-check": "^0.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0", "npm": ">=1.3.7" }, "david": { "//": "Ignore eslint pending https://github.com/airbnb/javascript/issues/2961", "ignore": [ "eslint" ] } }