Skip to content

Commit 7a87ab0

Browse files
committed
chore: add @wordpress/npm-package-json-lint-config
1 parent 416ec14 commit 7a87ab0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

packages/stylelint-config-wordpress/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"devDependencies": {
3939
"@commitlint/cli": "^7.0.0",
4040
"@commitlint/config-conventional": "^7.0.1",
41+
"@wordpress/npm-package-json-lint-config": "^1.1.2",
4142
"eslint": "^5.4.0",
4243
"eslint-plugin-jest": "^21.21.0",
4344
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#b65ae0cea1199c9714641ed3be7ea98fcb27dd6c",
@@ -84,6 +85,17 @@
8485
],
8586
"verbose": true
8687
},
88+
"npmPackageJsonLintConfig": {
89+
"extends": "@wordpress/npm-package-json-lint-config",
90+
"rules": {
91+
"valid-values-license": [
92+
"error",
93+
[
94+
"MIT"
95+
]
96+
]
97+
}
98+
},
8799
"remarkConfig": {
88100
"presets": [
89101
"lint-recommended",

0 commit comments

Comments
 (0)