Skip to content

Commit 17ef860

Browse files
chore(deps-dev): bump eslint-config-standard-with-typescript from 35.0.0 to 36.0.0 (CycloneDX#1003)
* chore(deps-dev): bump eslint-config-standard-with-typescript Bumps [eslint-config-standard-with-typescript](https://github.com/standard/eslint-config-standard-with-typescript) from 35.0.0 to 36.0.0. - [Release notes](https://github.com/standard/eslint-config-standard-with-typescript/releases) - [Changelog](https://github.com/standard/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md) - [Commits](mightyiam/eslint-config-love@v35.0.0...v36.0.0) --- updated-dependencies: - dependency-name: eslint-config-standard-with-typescript dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * style: use standarfs for js Signed-off-by: Jan Kowalleck <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jan Kowalleck <[email protected]>
1 parent dd307e3 commit 17ef860

File tree

3 files changed

+84
-35
lines changed

3 files changed

+84
-35
lines changed

.eslintrc.js

+29-20
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
2323
*/
2424
module.exports = {
2525
root: true,
26-
/** @see https://github.com/standard/ts-standard */
27-
extends: 'standard-with-typescript',
28-
parserOptions: {
29-
project: './tsconfig.json'
30-
},
3126
plugins: [
3227
/* see https://github.com/lydell/eslint-plugin-simple-import-sort#readme */
3328
'simple-import-sort',
@@ -38,30 +33,44 @@ module.exports = {
3833
commonjs: true,
3934
node: true
4035
},
41-
overrides: [
42-
{
43-
files: [
44-
'*.spec.*',
45-
'*.test.*'
46-
],
47-
env: {
48-
jest: true,
49-
commonjs: true,
50-
node: true
51-
}
52-
}
53-
],
5436
rules: {
5537
// region sort imports/exports
5638
/** disable other sorters in favour of `simple-import-sort` **/
5739
'import/order': 0,
5840
'sort-imports': 0,
59-
/** @see https://github.com/lydell/eslint-plugin-simple-import-sort/ */
41+
/* @see https://github.com/lydell/eslint-plugin-simple-import-sort/ */
6042
'simple-import-sort/imports': 'error',
6143
'simple-import-sort/exports': 'error',
6244
// endregion sort imports/exports
6345
/* see https://github.com/Stuk/eslint-plugin-header#readme */
6446
'header/header': ['error', '.license-header.js']
6547
// endregion license-header
66-
}
48+
},
49+
overrides: [
50+
{
51+
files: ['*.spec.*', '*.test.*'],
52+
env: {
53+
jest: true,
54+
commonjs: true,
55+
node: true
56+
}
57+
},
58+
{
59+
files: ['*.ts'],
60+
extends: [
61+
/* @see https://github.com/standard/ts-standard */
62+
'standard-with-typescript'
63+
],
64+
parserOptions: {
65+
project: './tsconfig.json'
66+
}
67+
},
68+
{
69+
files: ['*.js', '*.mjs', '*.cjs'],
70+
extends: [
71+
/* see https://www.npmjs.com/package/eslint-config-standard */
72+
'standard'
73+
]
74+
}
75+
]
6776
}

package-lock.json

+53-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"@types/node": "ts5.1",
6363
"@types/normalize-package-data": "^2.4.1",
6464
"eslint": "^8.23.0",
65-
"eslint-config-standard-with-typescript": "^35.0.0",
65+
"eslint-config-standard": "^17.1.0",
66+
"eslint-config-standard-with-typescript": "^36.0.0",
6667
"eslint-plugin-header": "^3.1.1",
6768
"eslint-plugin-simple-import-sort": "^10.0.0",
6869
"jest": "^29.5.0",

0 commit comments

Comments
 (0)