eslint-plugin-decorator-position
Advanced tools
Comparing version 2.2.19 to 2.2.20
@@ -0,1 +1,8 @@ | ||
## [2.2.20](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position/compare/v2.2.19...v2.2.20) (2021-03-22) | ||
### Bug Fixes | ||
* include indentation when counting line width ([b86643a](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position/commit/b86643a358425e5e6bcf78497140b2c2d44004db)) | ||
## [2.2.19](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position/compare/v2.2.18...v2.2.19) (2021-02-13) | ||
@@ -2,0 +9,0 @@ |
@@ -385,3 +385,7 @@ 'use strict'; | ||
// - etc | ||
return context.getSourceCode().getText(node).replace(/\s+/, ' ').length; | ||
return ( | ||
context.getSourceCode().getText(node).replace(/\s+/, ' ').length + | ||
// this is the only way to get indentation? | ||
node.loc.start.column | ||
); | ||
} | ||
@@ -388,0 +392,0 @@ |
{ | ||
"name": "eslint-plugin-decorator-position", | ||
"version": "2.2.19", | ||
"version": "2.2.20", | ||
"description": "ESLint plugin for enforcing decorator position", | ||
@@ -23,2 +23,3 @@ "main": "lib/index.js", | ||
"test:debug-watch": "node --inspect node_modules/.bin/jest --watch --runInBand", | ||
"test:debug:named": "node --inspect node_modules/.bin/jest --runInBand --watch --testNamePattern", | ||
"test:coverage": "jest --coverage", | ||
@@ -61,7 +62,7 @@ "test:watch": "jest --watchAll", | ||
"devDependencies": { | ||
"@commitlint/cli": "11.0.0", | ||
"@commitlint/config-conventional": "11.0.0", | ||
"@commitlint/cli": "12.0.0", | ||
"@commitlint/config-conventional": "12.0.0", | ||
"@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/git": "9.0.0", | ||
"@typescript-eslint/parser": "4.15.0", | ||
"@typescript-eslint/parser": "4.15.2", | ||
"babel-eslint": "10.1.0", | ||
@@ -85,3 +86,3 @@ "common-tags": "1.8.0", | ||
"semantic-release": "17.3.9", | ||
"typescript": "4.1.5" | ||
"typescript": "4.2.2" | ||
}, | ||
@@ -123,5 +124,5 @@ "dependencies": { | ||
"volta": { | ||
"node": "12.16.1", | ||
"node": "14.16.0", | ||
"yarn": "1.22.10" | ||
} | ||
} |
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
36397
427