Skip to content

Commit 040ef19

Browse files
committed
- Ignore Magento Commenting and PHP Doc standards
- Lock ECMA standard for eslint - eslint ignore tailwind, mixins and lib
1 parent f435a26 commit 040ef19

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.eslintrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"extends": "./vendor/space48/magento2-code-quality/rulesets/.eslintrc"
2+
"extends": "./vendor/space48/magento2-code-quality/rulesets/.eslintrc",
3+
"parserOptions": {
4+
"ecmaVersion": 2021
5+
},
6+
"ignorePatterns": [
7+
"**/*-mixin.js",
8+
"**/tailwind/**/*.config.js",
9+
"**/lib/**/*.js"
10+
]
311
}

ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
<ruleset name="Space48 Coding Standard Project Specific">
44
<rule ref="vendor/space48/magento2-code-quality/rulesets/ruleset.xml">
5+
<exclude name="Magento2.Annotation.MethodAnnotationStructure" />
6+
<exclude name="Magento2.Annotation.MethodArguments" />
7+
<exclude name="Magento2.Commenting.ClassPropertyPHPDocFormatting" />
58
</rule>
69

710
</ruleset>

0 commit comments

Comments
 (0)