File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "ignorePatterns": ["**/vendor/**/*.js", "**/node_modules/**/*.js"],
33 "rules": {
4- "jquery-no-andSelf": 2,
5- "jquery-no-bind-unbind": 2,
6- "jquery-no-input-event-shorthand": 2,
7- "jquery-no-delegate-undelegate": 2,
8- "jquery-no-event-shorthand": 2,
9- "jquery-no-size": 2,
10- "jquery-no-trim": 2,
11- "jquery-no-misc-deprecated-functions": 2,
12- "jquery-no-deprecated-expr": 2
4+ "magento-coding-standard-eslint-plugin/ jquery-no-andSelf": 2,
5+ "magento-coding-standard-eslint-plugin/ jquery-no-bind-unbind": 2,
6+ "magento-coding-standard-eslint-plugin/ jquery-no-input-event-shorthand": 2,
7+ "magento-coding-standard-eslint-plugin/ jquery-no-delegate-undelegate": 2,
8+ "magento-coding-standard-eslint-plugin/ jquery-no-event-shorthand": 2,
9+ "magento-coding-standard-eslint-plugin/ jquery-no-size": 2,
10+ "magento-coding-standard-eslint-plugin/ jquery-no-trim": 2,
11+ "magento-coding-standard-eslint-plugin/ jquery-no-misc-deprecated-functions": 2,
12+ "magento-coding-standard-eslint-plugin/ jquery-no-deprecated-expr": 2
1313 }
1414}
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ const compat = new FlatCompat({
1313 allConfig : js . configs . all
1414} ) ;
1515export default defineConfig ( [ {
16+ extends : compat . extends (
17+ "./.eslintrc-reset" ,
18+ "./.eslintrc-magento" ,
19+ "./.eslintrc-jquery" ,
20+ "./.eslintrc-misc" ,
21+ ) ,
1622 plugins : {
1723 "magento-coding-standard-eslint-plugin" : magentoCodingStandardEslintPlugin , // This is in flat config format (object)
1824 } ,
You can’t perform that action at this time.
0 commit comments