Skip to content

Commit

Permalink
Bump eslint-config-wikimedia from 0.22.1 to 0.24.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Addbot authored and umherirrender committed Mar 30, 2023
1 parent 60a3d98 commit cb2c3b5
Show file tree
Hide file tree
Showing 14 changed files with 1,180 additions and 2,933 deletions.
11 changes: 10 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@
"no-jquery/no-class-state": "off",
"no-jquery/no-global-selector": "off",
"yml/no-empty-mapping-value": "off",
"yml/plain-scalar": "off"
"yml/plain-scalar": "off",
"es-x/no-array-string-prototype-at": "off",
"es-x/no-arrow-functions": "off",
"es-x/no-async-functions": "off",
"es-x/no-block-scoped-variables": "off",
"es-x/no-default-parameters": "off",
"es-x/no-destructuring": "off",
"es-x/no-property-shorthands": "off",
"es-x/no-rest-parameters": "off",
"es-x/no-template-literals": "off"
},
"settings": {
"no-jquery": {
Expand Down
22 changes: 11 additions & 11 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@ Style/Encoding:
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'tests/browser/features/support/modules/uls_module.rb'
- 'tests/browser/features/support/pages/login_page.rb'
- "tests/browser/features/support/modules/uls_module.rb"
- "tests/browser/features/support/pages/login_page.rb"

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Exclude:
- 'tests/browser/features/support/env.rb'
- 'tests/browser/features/support/modules/alias_module.rb'
- 'tests/browser/features/support/modules/entity_module.rb'
- 'tests/browser/features/support/modules/reference_module.rb'
- 'tests/browser/features/support/modules/sitelink_module.rb'
- 'tests/browser/features/support/pages/login_page.rb'
- "tests/browser/features/support/env.rb"
- "tests/browser/features/support/modules/alias_module.rb"
- "tests/browser/features/support/modules/entity_module.rb"
- "tests/browser/features/support/modules/reference_module.rb"
- "tests/browser/features/support/modules/sitelink_module.rb"
- "tests/browser/features/support/pages/login_page.rb"

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'tests/browser/features/step_definitions/aliases_steps.rb'
- 'tests/browser/features/support/modules/entity_module.rb'
- "spec/**/*"
- "tests/browser/features/step_definitions/aliases_steps.rb"
- "tests/browser/features/support/modules/entity_module.rb"
18 changes: 9 additions & 9 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
inherit: true

tools:
php_code_coverage: false
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
php_code_coverage: false
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
8 changes: 8 additions & 0 deletions build/dist-size/analyze/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@ module.exports = {
'no-process-exit': 'off',
'mediawiki/valid-package-file-require': 'off',
'node/no-unsupported-features/node-builtins': 'off',
'es-x/no-async-functions': 'off',
'es-x/no-arrow-functions': 'off',
'es-x/no-block-scoped-variables': 'off',
'es-x/no-destructuring': 'off',
'es-x/no-promise': 'off',
'es-x/no-property-shorthands': 'off',
'es-x/no-template-literals': 'off',
'es-x/no-trailing-function-commas': 'off',
},
};
8 changes: 8 additions & 0 deletions build/dist-size/web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ module.exports = {
env: {
browser: true,
},
rules: {
'es-x/no-arrow-functions': 'off',
'es-x/no-block-scoped-variables': 'off',
'es-x/no-modules': 'off',
'es-x/no-property-shorthands': 'off',
'es-x/no-template-literals': 'off',
'es-x/no-trailing-function-commas': 'off',
},
};
18 changes: 9 additions & 9 deletions lib/packages/wikibase/data-model-serialization/.scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ build: true
inherit: true

tools:
external_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
external_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
26 changes: 13 additions & 13 deletions lib/packages/wikibase/data-model-services/.scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
build:
environment:
php: 7.2
environment:
php: 7.2

inherit: true

before_commands:
- "composer install --prefer-source"

tools:
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true

filter:
excluded_paths:
- 'vendor/*'
excluded_paths:
- "vendor/*"
28 changes: 14 additions & 14 deletions lib/packages/wikibase/data-model/.scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
build:
environment:
php:
version: '7.1'
environment:
php:
version: "7.1"

inherit: true

before_commands:
- "composer install --prefer-source"

tools:
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true

filter:
excluded_paths:
- 'vendor/*'
excluded_paths:
- "vendor/*"
24 changes: 12 additions & 12 deletions lib/packages/wikibase/internal-serialization/.scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ build: true
inherit: true

tools:
external_code_coverage: true
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
external_code_coverage: true
php_code_coverage: true
php_code_sniffer: true
php_cpd: true
php_cs_fixer: true
php_loc: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true

filter:
excluded_paths:
- 'vendor/*'
excluded_paths:
- "vendor/*"
Loading

0 comments on commit cb2c3b5

Please sign in to comment.