Skip to content

Commit 6c8b2bb

Browse files
committed
Basic implementation
1 parent 16a6175 commit 6c8b2bb

25 files changed

+4590
-623
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
lib/
22
dist/
33
node_modules/
4-
coverage/

.github/fixtures/Test.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Foundation
2+
3+
// TODO: trigger linter warning
4+
print("Test!")

.github/linters/.eslintrc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
env:
22
node: true
33
es6: true
4-
jest: true
54

65
globals:
76
Atomics: readonly
@@ -11,7 +10,6 @@ ignorePatterns:
1110
- '!.*'
1211
- '**/node_modules/.*'
1312
- '**/dist/.*'
14-
- '**/coverage/.*'
1513
- '*.json'
1614

1715
parser: '@typescript-eslint/parser'
@@ -24,15 +22,13 @@ parserOptions:
2422
- './tsconfig.json'
2523

2624
plugins:
27-
- jest
2825
- '@typescript-eslint'
2926

3027
extends:
3128
- eslint:recommended
3229
- plugin:@typescript-eslint/eslint-recommended
3330
- plugin:@typescript-eslint/recommended
3431
- plugin:github/recommended
35-
- plugin:jest/recommended
3632

3733
rules:
3834
{

.github/linters/.markdown-lint.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/linters/.yaml-lint.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/linters/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"compilerOptions": {
55
"noEmit": true
66
},
7-
"include": ["../../__tests__/**/*", "../../src/**/*"],
8-
"exclude": ["../../dist", "../../node_modules", "../../coverage", "*.json"]
7+
"include": ["../../src/**/*"],
8+
"exclude": ["../../dist", "../../node_modules", "*.json"]
99
}

.github/workflows/check-dist.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ on:
1414
branches:
1515
- main
1616
push:
17-
branches:
18-
- main
1917

2018
permissions:
2119
contents: read

.github/workflows/ci.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main
77
push:
8-
branches:
9-
- main
108

119
permissions:
1210
contents: read
@@ -40,25 +38,19 @@ jobs:
4038
id: npm-lint
4139
run: npm run lint
4240

43-
- name: Test
44-
id: npm-ci-test
45-
run: npm run ci-test
46-
4741
test-action:
4842
name: GitHub Actions Test
49-
runs-on: ubuntu-latest
43+
runs-on: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
5044

5145
steps:
5246
- name: Checkout
5347
id: checkout
5448
uses: actions/checkout@v4
5549

56-
- name: Test Local Action
57-
id: test-action
50+
- name: Test SwiftLint Action (using latest SwiftLint)
5851
uses: ./
59-
with:
60-
milliseconds: 2000
6152

62-
- name: Print Output
63-
id: output
64-
run: echo "${{ steps.test-action.outputs.time }}"
53+
- name: Test SwiftLint Action (using a specific version of SwiftLint)
54+
uses: ./
55+
with:
56+
version: 0.55.0

.github/workflows/linter.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main
77
push:
8-
branches:
9-
- main
108

119
permissions:
1210
contents: read
@@ -47,3 +45,4 @@ jobs:
4745
VALIDATE_ALL_CODEBASE: true
4846
VALIDATE_JAVASCRIPT_STANDARD: false
4947
VALIDATE_JSCPD: false
48+
VALIDATE_MARKDOWN: false

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
dist/
22
node_modules/
3-
coverage/
3+
*.yml
4+
*.yaml
5+
*.md

0 commit comments

Comments
 (0)