eslint-config-amex
Version:
American Express' ESLint config
136 lines (135 loc) • 4 kB
JSON
{
"name": "eslint-config-amex",
"version": "17.2.1",
"type": "module",
"description": "American Express' ESLint config",
"main": "./src/index.js",
"exports": {
".": "./src/index.js",
"./test-config": "./src/test-config.js",
"./browser-test-config": "./src/browser-test-config.js",
"./ignore-prettier-rules-config": "./src/ignore-prettier-rules-config.js",
"./ts-config": "./src/ts-config.js",
"./ts-test-config": "./src/ts-test-config.js",
"./constants": "./src/constants/index.js"
},
"scripts": {
"test:lint": "eslint .",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test": "npm run test:unit",
"test:git-history": "commitlint --from origin/main --to HEAD",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"posttest": "npm run test:lint && npm run test:git-history && npm run test:lockfile",
"prepare": "husky || true"
},
"jest": {
"preset": "amex-jest-preset",
"testPathIgnorePatterns": [
"/node_modules/",
"test.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/commitlint.config.mjs"
]
},
"contributors": [
"Andres Escobar",
"Jamie King <Jamie.King@aexp.com> (https://github.com/10xLaCroixDrinker)",
"Nick Oliver",
"Marcus R. Brown"
],
"author": "Andres Escobar <andres.escobar@aexp.com> (https://github.com/anescobar1991)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/eslint-config-amex.git"
},
"keywords": [
"amex",
"eslint",
"eslintconfig"
],
"engines": {
"node": ">= 18.18.0 || >= 20.9.0 || >= 22.0.0"
},
"dependencies": {
"@babel/eslint-parser": "^7.28.5",
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.39.2",
"@eslint/markdown": "^7.5.1",
"@stylistic/eslint-plugin": "^5.7.0",
"confusing-browser-globals": "^1.0.11",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-inclusive-language": "^2.2.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-n": "^17.23.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-unicorn": "^62.0.0",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
"globals": "^17.0.0",
"typescript-eslint": "^8.56.1"
},
"peerDependencies": {
"eslint": "^9.0.0",
"eslint-plugin-jest": "^28.0.0 || ^29.0.0",
"eslint-plugin-jest-dom": "^5.0.0",
"typescript": "^3.8.3 || ^4.0.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"eslint-plugin-jest": {
"optional": true
},
"eslint-plugin-jest-dom": {
"optional": true
},
"typescript": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"ajv": "^8.14.0",
"amex-jest-preset": "^7.0.0",
"eslint": "^9.0.0",
"eslint-plugin-jest": "^29.12.1",
"eslint-plugin-jest-dom": "^5.4.0",
"husky": "^9.0.11",
"ini": "^4.1.3",
"jest": "^29.7.0",
"lockfile-lint": "^4.13.2",
"semantic-release": "^25.0.3",
"typescript": "^5.4.5"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}