-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update npm-package-json-lint config
- Use new config file name: npmpackagejsonlint.config.cjs - Only use the rules we explicitly want to enforce - Use overrides to get rid of config files in folders - Bring files in line with the configuration - Remove unused `proprietary/LICENSE.md`
- Loading branch information
Showing
13 changed files
with
54 additions
and
72 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
rules: { | ||
'no-caret-version-dependencies': 'error', | ||
'no-caret-version-devDependencies': 'error', | ||
'no-tilde-version-dependencies': 'error', | ||
'no-tilde-version-devDependencies': 'error', | ||
'require-repository-directory': 'error', | ||
'valid-values-license': ['error', ['EUPL-1.2']], | ||
'valid-values-name-scope': ['error', ['@example']], | ||
}, | ||
overrides: [ | ||
{ | ||
patterns: ['proprietary/**/package.json'], | ||
rules: { | ||
'valid-values-license': ['error', ['SEE LICENSE IN LICENSE.md']], | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
{ | ||
"name": "@example/components-css", | ||
"version": "1.0.0-alpha.0", | ||
"author": "Community for NL Design System", | ||
"description": "CSS Components for a design system based on the NL Design System architecture", | ||
"license": "EUPL-1.2", | ||
"name": "@example/components-css", | ||
"keywords": [ | ||
"nl-design-system" | ||
], | ||
"private": true | ||
"private": true, | ||
"repository": { | ||
"type": "git+ssh", | ||
"url": "git@github.com:nl-design-system/example.git", | ||
"directory": "packages/components-css" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters