diff options
author | silverwind <me@silverwind.io> | 2023-09-08 04:24:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 22:24:06 -0400 |
commit | 3c0c27965836328abd2668dcd77710ee2460535e (patch) | |
tree | 57302ecf1c5619be185d888e91c1bd876cf9942e /.eslintrc.yaml | |
parent | f9abb6ade28d49f00f28623d172b5a8ed27f4509 (diff) | |
download | gitea-3c0c27965836328abd2668dcd77710ee2460535e.tar.gz gitea-3c0c27965836328abd2668dcd77710ee2460535e.zip |
Add `yamllint` (#26965)
So that https://github.com/go-gitea/gitea/pull/26964 does not happen
again. Merge this after that PR. Config is based on
[node's](https://github.com/nodejs/node/blob/main/.yamllint.yaml).
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index dd2c32eec0..846823abc7 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -156,7 +156,7 @@ rules: import/no-restricted-paths: [0] import/no-self-import: [2] import/no-unassigned-import: [0] - import/no-unresolved: [2, {commonjs: true, ignore: [\?.+$, ^vitest/]}] + import/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}] import/no-unused-modules: [2, {unusedExports: true}] import/no-useless-path-segments: [2, {commonjs: true}] import/no-webpack-loader-syntax: [2] |