Skip to content

Commit 6639ebc

Browse files
Merge pull request #334 from DaleSeo/main
ํŒŒ์ผ ๋งˆ์ง€๋ง‰ ๋ผ์ธ ๋ธŒ๋ ˆ์ดํฌ ๋ˆ„๋ฝ ์ž๋™ ๊ฐ์ง€ + ๋ผ์ธ ๋ธŒ๋ ˆ์ดํฌ ์ถ”๊ฐ€ ์ˆ˜์ •
2 parents 226a07a + 3adb66b commit 6639ebc

File tree

6 files changed

+33
-4
lines changed

6 files changed

+33
-4
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: ๐Ÿ”„ Integration
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
linelint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: fernandrone/[email protected]

โ€Ž.linelint.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 'true' will fix files
2+
autofix: false
3+
4+
# list of paths to ignore, uses gitignore syntaxes (executes before any rule)
5+
ignore:
6+
- "*.md"
7+
8+
rules:
9+
# checks if file ends in a newline character
10+
end-of-file:
11+
# set to true to enable this rule
12+
enable: true
13+
14+
# set to true to disable autofix (if enabled globally)
15+
disable-autofix: false
16+
17+
# if true also checks if file ends in a single newline character
18+
single-new-line: false

โ€Žcontains-duplicate/kimyoung.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ console.log(containsDuplicate([1, 2, 3, 1])); // true
1010
console.log(containsDuplicate([1, 2, 3, 4])); // false
1111

1212
// space - O(n) - creating a set to store elements
13-
// time - O(n) - traverse through the array
13+
// time - O(n) - traverse through the array

โ€Žnumber-of-1-bits/sun912.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def hammingWeight(self, n: int) -> int:
1010
result += n % 2
1111
n = n//2
1212

13-
return result
13+
return result

โ€Žpalindromic-substrings/kimyoung.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ console.log(countSubstrings("a")); // 1
2626
console.log(countSubstrings("")); // 0
2727

2828
// space - O(1) - constant variable `result`
29-
// time - O(n^2) - iterating through the string and expanding both ways
29+
// time - O(n^2) - iterating through the string and expanding both ways

โ€Žpalindromic-substrings/wogha95.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ var countSubstrings = function(s) {
2929

3030
return true;
3131
}
32-
};
32+
};

0 commit comments

Comments
ย (0)