Skip to content

Commit

Permalink
Simulate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sheck committed Sep 19, 2024
1 parent 1bbc5c2 commit 2f523c7
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 4 deletions.
4 changes: 3 additions & 1 deletion test/v6/existing.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function hello(this_should_be_ignored_because_its_an_existing_violation) {

Check failure on line 1 in test/v6/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-unused-vars

'hello' is defined but never used.

Check warning on line 1 in test/v6/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

camelcase

Identifier 'this_should_be_ignored_because_its_an_existing_violation' is not in camel case.

Check failure on line 1 in test/v6/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-unused-vars

'this_should_be_ignored_because_its_an_existing_violation' is defined but never used.
console.log("hello world")
console.log("hello world")
const a = 0

Check failure on line 3 in test/v6/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-unused-vars

'a' is assigned a value but never used.
a = 1

Check failure on line 4 in test/v6/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-const-assign

'a' is constant.
}
9 changes: 9 additions & 0 deletions test/v6/new.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function addOne(i) {

Check failure on line 1 in test/v6/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-unused-vars

'addOne' is defined but never used.
if (i != NaN) {

Check failure on line 2 in test/v6/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

use-isnan

Use the isNaN function to compare with NaN.
return i ++
} else {
return
}
};

Check failure on line 7 in test/v6/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-extra-semi

Unnecessary semicolon.

const not_camel_case = true

Check warning on line 9 in test/v6/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

camelcase

Identifier 'not_camel_case' is not in camel case.

Check failure on line 9 in test/v6/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v6

no-unused-vars

'not_camel_case' is assigned a value but never used.
Empty file.
4 changes: 3 additions & 1 deletion test/v7/existing.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function hello(this_should_be_ignored_because_its_an_existing_violation) {

Check failure on line 1 in test/v7/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-unused-vars

'hello' is defined but never used.

Check warning on line 1 in test/v7/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

camelcase

Identifier 'this_should_be_ignored_because_its_an_existing_violation' is not in camel case.

Check failure on line 1 in test/v7/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-unused-vars

'this_should_be_ignored_because_its_an_existing_violation' is defined but never used.
console.log("hello world")
console.log("hello world")
const a = 0
a = 1

Check failure on line 4 in test/v7/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-const-assign

'a' is constant.

Check failure on line 4 in test/v7/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-unused-vars

'a' is assigned a value but never used.
}
9 changes: 9 additions & 0 deletions test/v7/new.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function addOne(i) {

Check failure on line 1 in test/v7/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-unused-vars

'addOne' is defined but never used.
if (i != NaN) {

Check failure on line 2 in test/v7/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

use-isnan

Use the isNaN function to compare with NaN.
return i ++
} else {
return
}
};

Check failure on line 7 in test/v7/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-extra-semi

Unnecessary semicolon.

const not_camel_case = true

Check warning on line 9 in test/v7/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

camelcase

Identifier 'not_camel_case' is not in camel case.

Check failure on line 9 in test/v7/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v7

no-unused-vars

'not_camel_case' is assigned a value but never used.
Empty file.
4 changes: 3 additions & 1 deletion test/v8/existing.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function hello(this_should_be_ignored_because_its_an_existing_violation) {

Check failure on line 1 in test/v8/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-unused-vars

'hello' is defined but never used.

Check warning on line 1 in test/v8/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

camelcase

Identifier 'this_should_be_ignored_because_its_an_existing_violation' is not in camel case.

Check failure on line 1 in test/v8/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-unused-vars

'this_should_be_ignored_because_its_an_existing_violation' is defined but never used.
console.log("hello world")
console.log("hello world")
const a = 0
a = 1

Check failure on line 4 in test/v8/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-const-assign

'a' is constant.

Check failure on line 4 in test/v8/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-unused-vars

'a' is assigned a value but never used.
}
9 changes: 9 additions & 0 deletions test/v8/new.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function addOne(i) {

Check failure on line 1 in test/v8/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-unused-vars

'addOne' is defined but never used.
if (i != NaN) {

Check failure on line 2 in test/v8/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

use-isnan

Use the isNaN function to compare with NaN.
return i ++
} else {
return
}
};

const not_camel_case = true

Check warning on line 9 in test/v8/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

camelcase

Identifier 'not_camel_case' is not in camel case.

Check failure on line 9 in test/v8/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v8

no-unused-vars

'not_camel_case' is assigned a value but never used.
Empty file.
4 changes: 3 additions & 1 deletion test/v9/existing.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function hello(this_should_be_ignored_because_its_an_existing_violation) {

Check failure on line 1 in test/v9/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-unused-vars

'hello' is defined but never used.

Check warning on line 1 in test/v9/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

camelcase

Identifier 'this_should_be_ignored_because_its_an_existing_violation' is not in camel case.

Check failure on line 1 in test/v9/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-unused-vars

'this_should_be_ignored_because_its_an_existing_violation' is defined but never used.
console.log("hello world")
console.log("hello world")
const a = 0
a = 1

Check failure on line 4 in test/v9/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-const-assign

'a' is constant.

Check failure on line 4 in test/v9/existing.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-unused-vars

'a' is assigned a value but never used.
}
9 changes: 9 additions & 0 deletions test/v9/new.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function addOne(i) {

Check failure on line 1 in test/v9/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-unused-vars

'addOne' is defined but never used.
if (i != NaN) {

Check failure on line 2 in test/v9/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

use-isnan

Use the isNaN function to compare with NaN.
return i ++
} else {
return
}
};

const not_camel_case = true

Check warning on line 9 in test/v9/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

camelcase

Identifier 'not_camel_case' is not in camel case.

Check failure on line 9 in test/v9/new.js

View workflow job for this annotation

GitHub Actions / balto-eslint-v9

no-unused-vars

'not_camel_case' is assigned a value but never used.
Empty file.

0 comments on commit 2f523c7

Please sign in to comment.