Skip to content

Commit cb2c3b5

Browse files
Addbotumherirrender
authored andcommitted
Bump eslint-config-wikimedia from 0.22.1 to 0.24.0
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.22.1 to 0.24.0. - [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases) - [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/master/CHANGELOG.md) - [Commits](wikimedia/eslint-config-wikimedia@v0.22.1...v0.24.0) --- updated-dependencies: - dependency-name: eslint-config-wikimedia dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Pull Request: #344 Change-Id: I53da4fce5373de133cff0ac91dc4cf6800267e7d
1 parent 60a3d98 commit cb2c3b5

File tree

14 files changed

+1180
-2933
lines changed

14 files changed

+1180
-2933
lines changed

.eslintrc.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,16 @@
4545
"no-jquery/no-class-state": "off",
4646
"no-jquery/no-global-selector": "off",
4747
"yml/no-empty-mapping-value": "off",
48-
"yml/plain-scalar": "off"
48+
"yml/plain-scalar": "off",
49+
"es-x/no-array-string-prototype-at": "off",
50+
"es-x/no-arrow-functions": "off",
51+
"es-x/no-async-functions": "off",
52+
"es-x/no-block-scoped-variables": "off",
53+
"es-x/no-default-parameters": "off",
54+
"es-x/no-destructuring": "off",
55+
"es-x/no-property-shorthands": "off",
56+
"es-x/no-rest-parameters": "off",
57+
"es-x/no-template-literals": "off"
4958
},
5059
"settings": {
5160
"no-jquery": {

.rubocop_todo.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,27 @@ Style/Encoding:
2626
# Configuration parameters: MinBodyLength.
2727
Style/GuardClause:
2828
Exclude:
29-
- 'tests/browser/features/support/modules/uls_module.rb'
30-
- 'tests/browser/features/support/pages/login_page.rb'
29+
- "tests/browser/features/support/modules/uls_module.rb"
30+
- "tests/browser/features/support/pages/login_page.rb"
3131

3232
# Offense count: 7
3333
# Cop supports --auto-correct.
3434
# Configuration parameters: MaxLineLength.
3535
Style/IfUnlessModifier:
3636
Exclude:
37-
- 'tests/browser/features/support/env.rb'
38-
- 'tests/browser/features/support/modules/alias_module.rb'
39-
- 'tests/browser/features/support/modules/entity_module.rb'
40-
- 'tests/browser/features/support/modules/reference_module.rb'
41-
- 'tests/browser/features/support/modules/sitelink_module.rb'
42-
- 'tests/browser/features/support/pages/login_page.rb'
37+
- "tests/browser/features/support/env.rb"
38+
- "tests/browser/features/support/modules/alias_module.rb"
39+
- "tests/browser/features/support/modules/entity_module.rb"
40+
- "tests/browser/features/support/modules/reference_module.rb"
41+
- "tests/browser/features/support/modules/sitelink_module.rb"
42+
- "tests/browser/features/support/pages/login_page.rb"
4343

4444
# Offense count: 2
4545
# Cop supports --auto-correct.
4646
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
4747
# SupportedStyles: predicate, comparison
4848
Style/NumericPredicate:
4949
Exclude:
50-
- 'spec/**/*'
51-
- 'tests/browser/features/step_definitions/aliases_steps.rb'
52-
- 'tests/browser/features/support/modules/entity_module.rb'
50+
- "spec/**/*"
51+
- "tests/browser/features/step_definitions/aliases_steps.rb"
52+
- "tests/browser/features/support/modules/entity_module.rb"

.scrutinizer.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
inherit: true
22

33
tools:
4-
php_code_coverage: false
5-
php_code_sniffer: true
6-
php_cpd: true
7-
php_cs_fixer: true
8-
php_loc: true
9-
php_mess_detector: true
10-
php_pdepend: true
11-
php_analyzer: true
12-
sensiolabs_security_checker: true
4+
php_code_coverage: false
5+
php_code_sniffer: true
6+
php_cpd: true
7+
php_cs_fixer: true
8+
php_loc: true
9+
php_mess_detector: true
10+
php_pdepend: true
11+
php_analyzer: true
12+
sensiolabs_security_checker: true

build/dist-size/analyze/.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,13 @@ module.exports = {
1414
'no-process-exit': 'off',
1515
'mediawiki/valid-package-file-require': 'off',
1616
'node/no-unsupported-features/node-builtins': 'off',
17+
'es-x/no-async-functions': 'off',
18+
'es-x/no-arrow-functions': 'off',
19+
'es-x/no-block-scoped-variables': 'off',
20+
'es-x/no-destructuring': 'off',
21+
'es-x/no-promise': 'off',
22+
'es-x/no-property-shorthands': 'off',
23+
'es-x/no-template-literals': 'off',
24+
'es-x/no-trailing-function-commas': 'off',
1725
},
1826
};

build/dist-size/web/.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ module.exports = {
55
env: {
66
browser: true,
77
},
8+
rules: {
9+
'es-x/no-arrow-functions': 'off',
10+
'es-x/no-block-scoped-variables': 'off',
11+
'es-x/no-modules': 'off',
12+
'es-x/no-property-shorthands': 'off',
13+
'es-x/no-template-literals': 'off',
14+
'es-x/no-trailing-function-commas': 'off',
15+
},
816
};

lib/packages/wikibase/data-model-serialization/.scrutinizer.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ build: true
22
inherit: true
33

44
tools:
5-
external_code_coverage: true
6-
php_code_sniffer: true
7-
php_cpd: true
8-
php_cs_fixer: true
9-
php_loc: true
10-
php_mess_detector: true
11-
php_pdepend: true
12-
php_analyzer: true
13-
sensiolabs_security_checker: true
5+
external_code_coverage: true
6+
php_code_sniffer: true
7+
php_cpd: true
8+
php_cs_fixer: true
9+
php_loc: true
10+
php_mess_detector: true
11+
php_pdepend: true
12+
php_analyzer: true
13+
sensiolabs_security_checker: true
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
build:
2-
environment:
3-
php: 7.2
2+
environment:
3+
php: 7.2
44

55
inherit: true
66

77
before_commands:
88
- "composer install --prefer-source"
99

1010
tools:
11-
php_code_coverage: true
12-
php_code_sniffer: true
13-
php_cpd: true
14-
php_cs_fixer: true
15-
php_loc: true
16-
php_mess_detector: true
17-
php_pdepend: true
18-
php_analyzer: true
19-
sensiolabs_security_checker: true
11+
php_code_coverage: true
12+
php_code_sniffer: true
13+
php_cpd: true
14+
php_cs_fixer: true
15+
php_loc: true
16+
php_mess_detector: true
17+
php_pdepend: true
18+
php_analyzer: true
19+
sensiolabs_security_checker: true
2020

2121
filter:
22-
excluded_paths:
23-
- 'vendor/*'
22+
excluded_paths:
23+
- "vendor/*"
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
build:
2-
environment:
3-
php:
4-
version: '7.1'
2+
environment:
3+
php:
4+
version: "7.1"
55

66
inherit: true
77

88
before_commands:
99
- "composer install --prefer-source"
1010

1111
tools:
12-
php_code_coverage: true
13-
php_code_sniffer: true
14-
php_cpd: true
15-
php_cs_fixer: true
16-
php_loc: true
17-
php_mess_detector: true
18-
php_pdepend: true
19-
php_analyzer: true
20-
sensiolabs_security_checker: true
12+
php_code_coverage: true
13+
php_code_sniffer: true
14+
php_cpd: true
15+
php_cs_fixer: true
16+
php_loc: true
17+
php_mess_detector: true
18+
php_pdepend: true
19+
php_analyzer: true
20+
sensiolabs_security_checker: true
2121

2222
filter:
23-
excluded_paths:
24-
- 'vendor/*'
23+
excluded_paths:
24+
- "vendor/*"

lib/packages/wikibase/internal-serialization/.scrutinizer.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ build: true
22
inherit: true
33

44
tools:
5-
external_code_coverage: true
6-
php_code_coverage: true
7-
php_code_sniffer: true
8-
php_cpd: true
9-
php_cs_fixer: true
10-
php_loc: true
11-
php_mess_detector: true
12-
php_pdepend: true
13-
php_analyzer: true
14-
sensiolabs_security_checker: true
5+
external_code_coverage: true
6+
php_code_coverage: true
7+
php_code_sniffer: true
8+
php_cpd: true
9+
php_cs_fixer: true
10+
php_loc: true
11+
php_mess_detector: true
12+
php_pdepend: true
13+
php_analyzer: true
14+
sensiolabs_security_checker: true
1515

1616
filter:
17-
excluded_paths:
18-
- 'vendor/*'
17+
excluded_paths:
18+
- "vendor/*"

0 commit comments

Comments
 (0)