Skip to content

Commit 31e5aab

Browse files
author
CI bot
committed
Merge remote-tracking branch 'remotes/dev/5.0' into 5.0
2 parents 90e564d + ce34c5d commit 31e5aab

7 files changed

+1718
-1870
lines changed

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**/.bin/**
2+
**/node_modules/**
3+
**/api-doc-bundle/**
4+
**/public/lib/**
5+
**/public/*/vendors/**
6+
**/Karma/lib/**
7+
**/*.min.js

.eslintrc.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
extends:
2+
- google
3+
- "plugin:oro/recommended"
4+
parserOptions:
5+
ecmaVersion: 2020
6+
sourceType: module
7+
env:
8+
browser: true
9+
commonjs: true
10+
amd: true
11+
jasmine: true
12+
globals:
13+
Promise: true
14+
15+
rules:
16+
# turn off ES6 code style check
17+
arrow-parens: ['error', 'as-needed']
18+
oro/named-constructor: 'error'
19+
20+
# customization
21+
indent: ['error', 4, {'SwitchCase': 1}]
22+
max-len:
23+
- 'error'
24+
- code: 120
25+
comments: 160
26+
tabWidth: 4
27+
ignoreComments: true
28+
ignoreTrailingComments: true
29+
ignoreRegExpLiterals: true
30+
ignorePattern: '^\s*const\s.+=\s*require\s*\(|\.extend\(\/\*\*\s+@lends\s.+\*\/\{$'
31+
comma-dangle: ['error', 'never']
32+
eqeqeq: ['error', 'smart']
33+
no-useless-call: 'error'
34+
no-useless-concat: 'error'
35+
no-loop-func: 'error'
36+
no-eval: 'error'
37+
no-undef: 'error'
38+
no-unused-vars:
39+
- 'error'
40+
- ignoreRestSiblings: true
41+
args: 'none'
42+
operator-linebreak:
43+
- 'error'
44+
- 'after'
45+
- overrides:
46+
"?": 'before'
47+
":": 'before'
48+
new-cap:
49+
- 'error'
50+
- newIsCap: true
51+
properties: false
52+
quote-props:
53+
- 'error'
54+
- 'consistent-as-needed'
55+
- keywords: true
56+
numbers: true
57+
valid-jsdoc: 'off' # has to be turned on in a future
58+
no-useless-escape: 'off' # has to be turned on in a future
59+
require-jsdoc: 'off' # has to be turned on in a future
60+
no-invalid-this: 'off' # has to be turned on in a future
61+
space-infix-ops:
62+
- 'error'

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

.php-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.1

0 commit comments

Comments
 (0)