securityos/node_modules/eslint-plugin-sonarjs/package.json

110 lines
2.8 KiB
JSON

{
"name": "eslint-plugin-sonarjs",
"version": "0.18.0",
"description": "SonarJS rules for ESLint",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "git@github.com:SonarSource/eslint-plugin-sonarjs.git",
"license": "LGPL-3.0",
"keywords": [
"sonarjs",
"eslint",
"eslintplugin"
],
"bugs": {
"url": "https://github.com/SonarSource/eslint-plugin-sonarjs/issues"
},
"homepage": "https://github.com/SonarSource/eslint-plugin-sonarjs",
"engines": {
"node": ">=14"
},
"scripts": {
"build": "rimraf lib && npm run check-format && tsc -d -p tsconfig-src.json",
"test": "jest",
"ruling": "ts-node --files ruling/index.ts",
"typecheck": "tsc -p tsconfig.json",
"lint": "eslint --ext js,ts src tests ruling/index.ts",
"precommit": "lint-staged && npm run typecheck",
"prepack": "npm run build",
"format": "prettier --write \"{src,tests}/**/*.ts\"",
"check-format": "prettier --list-different \"{src,tests}/**/*.ts\""
},
"peerDependencies": {
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"devDependencies": {
"@babel/core": "7.18.9",
"@babel/eslint-parser": "7.18.9",
"@babel/plugin-proposal-export-default-from": "^7.18.9",
"@babel/plugin-proposal-function-bind": "^7.18.9",
"@babel/preset-env": "7.18.9",
"@babel/preset-flow": "7.18.6",
"@babel/preset-react": "7.18.6",
"@types/eslint": "8.4.5",
"@types/jest": "28.1.6",
"@types/lodash": "4.14.182",
"@types/minimist": "1.2.2",
"@types/node": "14.14.31",
"@typescript-eslint/experimental-utils": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-notice": "0.9.10",
"eslint-plugin-sonarjs": "0.17.0",
"jest": "28.1.3",
"jest-sonar-reporter": "2.0.0",
"lint-staged": "13.0.3",
"lodash": "4.17.21",
"minimist": "1.2.6",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"ts-jest": "28.0.7",
"ts-node": "10.9.1",
"typescript": "4.7.4"
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"jest": {
"roots": [
"tests",
"src"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"globals": {
"ts-jest": {
"babelConfig": false
}
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
]
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint",
"prettier --write",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
}
}