Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 994bb18

Browse files
Merge branch 'main' into alpine-3.17
2 parents 8fd9e1e + df676a4 commit 994bb18

File tree

1,927 files changed

+3447
-4639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,927 files changed

+3447
-4639
lines changed

.stylelintrc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
extends: stylelint-config-standard
22

3+
plugins:
4+
- stylelint-declaration-strict-value
5+
36
overrides:
47
- files: ["**/*.less"]
58
customSyntax: postcss-less
9+
- files: ["**/*.less"]
10+
rules:
11+
scale-unlimited/declaration-strict-value: [color, {
12+
ignoreValues: /^(inherit|transparent|unset|initial)$/
13+
}]
14+
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console/*"]
15+
rules:
16+
scale-unlimited/declaration-strict-value: null
617

718
rules:
819
alpha-value-notation: null

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions

build.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2020 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
3+
44

55
//go:build vendor
66

build/code-batch-process.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 2021 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
43

54
//go:build ignore
65

build/codeformat/formatimports.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 2021 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
43

54
package codeformat
65

build/codeformat/formatimports_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 2021 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
43

54
package codeformat
65

build/generate-bindata.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 2020 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
43

54
//go:build ignore
65

build/generate-emoji.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright 2020 The Gitea Authors. All rights reserved.
22
// Copyright 2015 Kenneth Shaw
3-
// Use of this source code is governed by a MIT-style
4-
// license that can be found in the LICENSE file.
3+
// SPDX-License-Identifier: MIT
54

65
//go:build ignore
76

@@ -209,8 +208,8 @@ func generate() ([]byte, error) {
209208

210209
const hdr = `
211210
// Copyright 2020 The Gitea Authors. All rights reserved.
212-
// Use of this source code is governed by a MIT-style
213-
// license that can be found in the LICENSE file.
211+
// SPDX-License-Identifier: MIT
212+
214213
215214
package emoji
216215

build/generate-go-licenses.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright 2022 The Gitea Authors. All rights reserved.
2-
// Use of this source code is governed by a MIT-style
3-
// license that can be found in the LICENSE file.
2+
// SPDX-License-Identifier: MIT
43

54
//go:build ignore
65

build/gocovmerge.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright 2020 The Gitea Authors. All rights reserved.
22
// Copyright (c) 2015, Wade Simmons
3-
// Use of this source code is governed by a MIT-style
4-
// license that can be found in the LICENSE file.
3+
// SPDX-License-Identifier: MIT
54

65
// gocovmerge takes the results from multiple `go test -coverprofile` runs and
76
// merges them into one profile

0 commit comments

Comments
 (0)