Skip to content

Commit 7b3228b

Browse files
authored
breaking: remove score property (#30)
1 parent 9efce5b commit 7b3228b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/core.js

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ export function calculate(analysis) {
3636
const complexity = calculateScore(analysis, complexityGuards)
3737

3838
return {
39-
/** @deprecated */
40-
score: 0,
4139
violations: performance.violations
4240
.concat(maintainability.violations)
4341
.concat(complexity.violations),

src/index.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Index('smoke test', () => {
2424
`
2525
let result = calculate(css)
2626
assert.equal(result, {
27-
"score": 0,
2827
"violations": [
2928
{
3029
"id": "Imports",

0 commit comments

Comments
 (0)