1 Star 0 Fork 0

xhua/wp-calypso

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
npmpackagejsonlint.config.js 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
// See https://www.npmjs.com/package/@wordpress/npm-package-json-lint-config
extends: '@wordpress/npm-package-json-lint-config',
rules: {
'prefer-no-devDependencies': 'error',
'prefer-property-order': 'off',
'require-bugs': 'off',
'require-homepage': 'off',
'require-keywords': 'off',
'valid-values-author': [ 'error', [ 'Automattic Inc.' ] ],
'valid-values-name-scope': [ 'error', [ '@automattic' ] ],
},
overrides: [
{
patterns: [ './package.json' ],
rules: {
'prefer-no-devDependencies': 'off',
},
},
{
patterns: [
'./package.json',
'./client/package.json',
'./packages/calypso-codemods/package.json',
'./packages/eslint-config-wpcalypso/package.json',
'./packages/eslint-plugin-wpcalypso/package.json',
'./packages/i18n-calypso-cli/package.json',
'./packages/i18n-calypso/package.json',
'./packages/photon/package.json',
],
rules: {
'valid-values-name-scope': 'off',
},
},
{
patterns: [ './packages/material-design-icons/package.json' ],
rules: {
'valid-values-license': 'off',
},
},
],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xhua/wp-calypso.git
git@gitee.com:xhua/wp-calypso.git
xhua
wp-calypso
wp-calypso
master

搜索帮助