eslint-plugin-file-progress
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "eslint-plugin-file-progress", | ||
"description": "Eslint plugin to print file progress", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"license": "MIT", | ||
@@ -35,13 +35,12 @@ "author": "sibiraj-s", | ||
"devDependencies": { | ||
"@commitlint/cli": "^13.2.1", | ||
"@commitlint/config-conventional": "^13.2.0", | ||
"@types/node": "^16.11.1", | ||
"eslint": "^8.0.1", | ||
"eslint-config-pegasus": "^3.0.0", | ||
"eslint-plugin-eslint-plugin": "^4.0.1", | ||
"@commitlint/cli": "^17.0.2", | ||
"@commitlint/config-conventional": "^17.0.2", | ||
"@types/node": "^16.11.38", | ||
"eslint": "^8.16.0", | ||
"eslint-config-pegasus": "^3.3.0", | ||
"eslint-plugin-eslint-plugin": "^4.2.0", | ||
"eslint-plugin-file-progress": "file:.", | ||
"husky": "^7.0.2", | ||
"is-ci": "^3.0.0", | ||
"typescript": "^4.4.4" | ||
"husky": "^8.0.1", | ||
"is-ci": "^3.0.1" | ||
} | ||
} |
@@ -0,1 +1,2 @@ | ||
const path = require('path'); | ||
const ora = require('ora'); | ||
@@ -16,3 +17,3 @@ const chalk = require('chalk'); | ||
const rootPath = `${process.cwd()}/`; | ||
const rootPath = process.cwd(); | ||
@@ -26,3 +27,3 @@ const create = (context) => { | ||
const filename = context.getFilename(); | ||
const relativeFilePath = filename.replace(rootPath, ''); | ||
const relativeFilePath = path.relative(rootPath, filename); | ||
@@ -29,0 +30,0 @@ spinner.text = `Processing: ${chalk.green(relativeFilePath)} \n`; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3945
9
35