-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.lin3s_cs.yml.dist
executable file
·77 lines (70 loc) · 2.27 KB
/
.lin3s_cs.yml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# This file is part of the Php DDD Standard project.
#
# Copyright (c) 2017-present LIN3S <info@lin3s.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @author Beñat Espiña <benatespina@gmail.com>
parameters:
enabled:
- twigcs
- phpcsfixer
- stylelint
- eslint
name: Php DDD Standard project
type: project
year: 2017-present
author: LIN3S
email: info@lin3s.com
phpmd_path: src
phpmd_rules:
- controversial
- unusedcode
- codesize
- naming
twigcs_path: src/Infrastructure/Ui/Templates/Twig
phpcsfixer_path: src
phpcsfixer_test_path: tests
phpcsfixer_file_location: .
stylelint_path: src/Infrastructure/Ui/Assets/scss
stylelint_file_location: src/Infrastructure/Ui/Assets
stylelint_exclude: []
stylelint_rules: []
eslint_path: src/Infrastructure/Ui/Assets/js
eslint_file_location: src/Infrastructure/Ui/Assets
eslint_exclude: []
eslint_rules:
plugins:
- babel
- react
- class-property
rules:
babel/semi: [error, always]
react/display-name: off
react/forbid-prop-types: off
react/jsx-boolean-value: off
react/jsx-closing-bracket-location: off
react/jsx-curly-spacing: off
react/jsx-indent-props: off
react/jsx-max-props-per-line: off
react/jsx-no-duplicate-props: error
react/jsx-no-literals: off
react/jsx-no-undef: error
jsx-quotes: error
react/jsx-sort-props: error
react/jsx-uses-react: error
react/jsx-uses-vars: error
react/no-danger: error
react/no-did-mount-set-state: error
react/no-did-update-set-state: error
react/no-direct-mutation-state: error
react/no-set-state: off
react/no-unknown-property: error
react/prop-types: off
react/react-in-jsx-scope: off
react/require-extension: off
react/self-closing-comp: off
react/sort-comp: off
react/sort-prop-types: error
react/wrap-multilines: off