123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- {
- "name": "eslint-plugin-sonarjs",
- "version": "0.15.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": ">=12"
- },
- "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.14.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"
- ]
- }
- }
|