小编Lei*_*son的帖子

使用eslint时如何禁用no-plusplus?

在Visual Studio Code,AirBnB样式的Ubuntu Linux中使用eslint时,默认启用no-plusplus,因此在for循环中使用++会出错:[eslint]使用一元运算符'++'.(无加加)

你如何禁用该设置?

eslint eslint-config-airbnb

8
推荐指数
2
解决办法
7817
查看次数

如何正确配置 aws-vault 以与 Ubuntu Linux 20.04 LTS 配合使用?

我全新安装了 Ubuntu 20.04,在 .aws/config 中设置了 [profile ...],并设置了 /credentials,但是根据我是否使用 kwallet 还是秘密服务,我看到了 2 个单独的错误 - 两者似乎都无法按预期工作,初始误差:

$ aws-vault --debug ls
2021/02/23 18:35:47 [keyring] Considering backends: [kwallet secret-service file]
2021/02/23 18:35:47 Loading config file /home/leigh/.aws/config
2021/02/23 18:35:47 Parsing config file /home/leigh/.aws/config
aws-vault: error: The name org.kde.kwalletd was not provided by any .service files
Run Code Online (Sandbox Code Playgroud)

在其他地方的帖子中,建议使用“秘密服务”:export AWS_VAULT_BACKEND=secret-service

然而,这样的设置会引发一个新的错误:

$ aws-vault --debug ls
2021/02/23 18:40:32 [keyring] Considering backends: [secret-service]
2021/02/23 18:40:32 Loading config file /home/leigh/.aws/config
2021/02/23 18:40:32 Parsing config file /home/leigh/.aws/config
aws-vault: error: The collection …
Run Code Online (Sandbox Code Playgroud)

amazon-web-services

6
推荐指数
0
解决办法
8452
查看次数