UNPKG

lint-diff-line

Version:

:Run eslint only in the changed parts of the code

54 lines (53 loc) 1.72 kB
{ "name": "lint-diff-line", "version": "1.2.16", "description": ":Run eslint only in the changed parts of the code", "source": "src/index.js", "main": "./dist/lint-diff-line.js", "bin": { "lint-diff-line": "dist/lint-diff-line.js" }, "scripts": { "build": "rm -rf ./dist ./parcel-cache && parcel build", "lint": "eslint 'src/**/*.js'", "deploy": "npm version patch && npm run build && npm publish", "test": "npm run lint", "test:fullFiles": "npm run build && node dist/lint-diff-line.js -r 51de70ce67623017fbf5346c391628b8b211b014..53da502f61d442b283f775a8573dc7b336f85081 -f 'src/testFiles/**' -F true ", "test:newLines": "npm run build && node dist/lint-diff-line.js -r 51de70ce67623017fbf5346c391628b8b211b014..53da502f61d442b283f775a8573dc7b336f85081 -f 'src/testFiles/**'" }, "repository": { "type": "git", "url": "git+https://github.com/reharik/lint-diff-line.git" }, "keywords": [ "linter", "eslint", "diff", "git" ], "author": "Raif Harik <harik.raif@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/reharik/lint-diff-line/issues" }, "homepage": "https://github.com/reharik/lint-diff-line#readme", "devDependencies": { "@babel/core": "^7.21.8", "babel-loader": "^8.3.0", "babel-plugin-add-module-exports": "0.2.1", "eslint": "^8.39.0", "eslint-config-pagarme-base": "^3.0.0", "eslint-plugin-import": "^2.27.5", "parcel": "^2.8.3" }, "dependencies": { "eslint-formatter-lint-diff-line-formatter": "^1.0.5", "execa": "0.10.0", "meow": "^5.0.0", "minimatch": "^3.1.2", "ramda": "0.25.0" }, "peerDependencies": { "eslint": "^8.39.0" } }