-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AG-17246 fix code style to conform to guidelines
Merge in ADGUARD-FILTERS/scriptlets from fix/AG-17246 to release/v1.8 Squashed commit of the following: commit 62ebaba Author: Stanislav A <s.atroschenko@adguard.com> Date: Mon Jan 9 21:20:40 2023 +0300 remove dashes after param docs commit 3e1ea2d Author: Stanislav A <s.atroschenko@adguard.com> Date: Mon Jan 9 21:18:22 2023 +0300 swap wildcard to 'any' for param types commit 9edacb0 Author: Stanislav A <s.atroschenko@adguard.com> Date: Fri Dec 30 14:52:40 2022 +0300 config and apply check-types commit 8a17e2d Author: Stanislav A <s.atroschenko@adguard.com> Date: Fri Dec 30 14:10:50 2022 +0300 remove unsupported import syntax commit c49ebf4 Author: Stanislav A <s.atroschenko@adguard.com> Date: Thu Dec 29 20:51:12 2022 +0300 enable rules for helpers p2 commit 279c589 Author: Stanislav A <s.atroschenko@adguard.com> Date: Thu Dec 29 20:18:20 2022 +0300 enable rules for helpers p1 commit 6e3f5de Author: Stanislav A <s.atroschenko@adguard.com> Date: Thu Dec 29 17:04:06 2022 +0300 split overrides into separate eslint configs commit bbffe49 Merge: 8717f33 0aeb1d5 Author: Stanislav A <s.atroschenko@adguard.com> Date: Thu Dec 29 16:34:42 2022 +0300 merge master commit 8717f33 Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 20:39:28 2022 +0300 use rules for helpers commit 026785f Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 20:03:59 2022 +0300 fix tag-lines p2 commit 9a4aa4d Merge: 048e32c 89185d3 Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 18:48:44 2022 +0300 merge release/v1.8 commit 048e32c Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 15:09:30 2022 +0300 enable jsdoc/require-property-description commit c3d3d5d Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 14:39:00 2022 +0300 enable jsdoc/tag-lines commit fe47c15 Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 14:14:21 2022 +0300 enable jsdoc/require-returns commit f5d898e Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 13:33:58 2022 +0300 enable jsdoc/newline-after-description commit 034db74 Author: Stanislav A <s.atroschenko@adguard.com> Date: Wed Dec 28 12:59:12 2022 +0300 enable jsdoc/check-tag-names commit 286558e Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 27 21:11:37 2022 +0300 enable jsdoc/require-param-type commit b34878a Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 27 20:59:30 2022 +0300 enable jsdoc/check-alignment commit fe20657 Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 27 20:56:32 2022 +0300 enable jsdoc/check-types commit 4908c90 Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 27 20:48:19 2022 +0300 enable jsdoc/check-param-names ... and 4 more commits
- Loading branch information
1 parent
0aeb1d5
commit 96e65b4
Showing
138 changed files
with
906 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module.exports = { | ||
extends: [ | ||
'airbnb-base', | ||
'plugin:jsdoc/recommended', | ||
], | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
babelOptions: { | ||
rootMode: 'upward', | ||
}, | ||
}, | ||
env: { | ||
browser: true, | ||
qunit: true, | ||
}, | ||
rules: { | ||
'max-len': [ | ||
'error', | ||
{ | ||
code: 120, | ||
ignoreUrls: true, | ||
}, | ||
], | ||
indent: ['error', 4, { SwitchCase: 1 }], | ||
'no-param-reassign': 0, | ||
'no-shadow': 0, | ||
'import/prefer-default-export': 0, | ||
'arrow-body-style': 0, | ||
'import/no-extraneous-dependencies': 0, | ||
'no-await-in-loop': 0, | ||
'no-restricted-syntax': 0, | ||
// jsdoc rules | ||
'jsdoc/check-tag-names': ['error', { definedTags: ['scriptlet', 'trustedScriptlet', 'redirect'] }], | ||
'jsdoc/require-jsdoc': 0, | ||
'jsdoc/require-param': 0, | ||
'jsdoc/valid-types': 0, | ||
'jsdoc/no-undefined-types': 0, | ||
'jsdoc/require-param-description': 0, | ||
'jsdoc/require-returns-description': 0, | ||
}, | ||
settings: { | ||
jsdoc: { | ||
preferredTypes: { | ||
object: 'Object', | ||
}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
extends: [ | ||
'../../.eslintrc', | ||
'../.eslintrc', | ||
], | ||
rules: { | ||
'jsdoc/require-jsdoc': 1, | ||
'jsdoc/require-param': 1, | ||
'jsdoc/valid-types': 1, | ||
'jsdoc/no-undefined-types': 1, | ||
'jsdoc/require-param-description': 1, | ||
'jsdoc/require-returns-description': 1, | ||
}, | ||
}; |
Oops, something went wrong.