Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
Update eslint-config/eslint.config.mjs:

- Remove a commented out section
- Specify which files need to be linted using the 'nl-design-system/all'
  rules
- Prepare 1.0.0 release of @nl-design-system/eslint-config
  • Loading branch information
matijs committed Jan 30, 2025
1 parent 4d6fed2 commit 13a7e85
Show file tree
Hide file tree
Showing 8 changed files with 1,995 additions and 995 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-readers-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@nl-design-system/eslint-config': major
---

Lint all JavaScript and TypeScript files using the 'nl-design-system/all' rules.
4 changes: 2 additions & 2 deletions npmpackagejsonlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = {
rules: {
'valid-values-license': ['error', ['EUPL-1.2']],
'valid-values-name-scope': ['error', ['@nl-design-system']],
'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', ['@nl-design-system']],
},
};
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@
"pnpm": "^9"
},
"devDependencies": {
"@changesets/cli": "2.27.9",
"@changesets/cli": "2.27.12",
"@nl-design-system/eslint-config": "workspace:*",
"@nl-design-system/tsconfig": "workspace:*",
"@types/node": "22.10.9",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"eslint": "9.14.0",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"markdownlint-cli": "0.42.0",
"npm-check-updates": "17.1.10",
"@types/node": "22.12.0",
"@typescript-eslint/eslint-plugin": "8.22.0",
"@typescript-eslint/parser": "8.22.0",
"eslint": "9.19.0",
"husky": "9.1.7",
"lint-staged": "15.4.3",
"markdownlint-cli": "0.44.0",
"npm-check-updates": "17.1.14",
"npm-package-json-lint": "8.0.0",
"npm-run-all": "4.1.5",
"postcss": "8.4.47",
"prettier": "3.3.3",
"stylelint": "16.10.0",
"stylelint-config-standard-scss": "13.1.0",
"postcss": "8.5.1",
"prettier": "3.4.2",
"stylelint": "16.14.1",
"stylelint-config-standard-scss": "14.0.0",
"stylelint-order": "6.0.4",
"typescript": "5.6.3"
"typescript": "5.7.3"
},
"scripts": {
"build": "pnpm --recursive run build",
Expand Down
8 changes: 1 addition & 7 deletions packages/eslint-config/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,9 @@ export default tseslint.config(
language: 'json/json',
...json.configs.recommended,
},
//{
//files: ['**/*.js', '**/*.cjs', '**/*.mjs', '**/*.jsx', '**/*.ts', '**/*.tsx'],
//rules: {
//...nlDesignSystemJS.rules,
//},
//},
{
// This section applies to all files
name: 'nl-design-system/all',
files: ['**/*.js', '**/*.cjs', '**/*.cjs', '**/*.ts', '**/*.jsx', '**/*.tsx'],
rules: {
'array-callback-return': ['error', { checkForEach: false }],
'block-scoped-var': 'error',
Expand Down
16 changes: 8 additions & 8 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"access": "public"
},
"devDependencies": {
"eslint": "9.14.0"
"eslint": "9.19.0"
},
"peerDependencies": {
"eslint": "^9"
},
"dependencies": {
"@eslint/js": "9.14.0",
"@eslint/json": "0.6.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-perfectionist": "3.9.1",
"eslint-plugin-react": "7.37.2",
"globals": "15.12.0",
"typescript-eslint": "8.13.0"
"@eslint/js": "9.19.0",
"@eslint/json": "0.10.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-perfectionist": "4.7.0",
"eslint-plugin-react": "7.37.4",
"globals": "15.14.0",
"typescript-eslint": "8.22.0"
}
}
10 changes: 5 additions & 5 deletions packages/rollup-config-react-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"access": "public"
},
"dependencies": {
"@babel/core": "7.26.0",
"@babel/core": "7.26.7",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "12.1.1",
"rollup-plugin-node-externals": "7.1.3",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-typescript": "12.1.2",
"rollup-plugin-node-externals": "8.0.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2"
},
"devDependencies": {
"rollup": "4.24.4"
"rollup": "4.32.1"
},
"peerDependencies": {
"rollup": "^4"
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"access": "public"
},
"devDependencies": {
"typescript": "5.6.3"
"typescript": "5.7.3"
},
"peerDependencies": {
"typescript": "^5.4"
Expand Down
Loading

0 comments on commit 13a7e85

Please sign in to comment.