Skip to content

Commit

Permalink
Bump dev dependencies of ESLint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
utarwyn committed Jul 19, 2023
1 parent 26c258e commit 0302ef8
Show file tree
Hide file tree
Showing 5 changed files with 650 additions and 296 deletions.
4 changes: 2 additions & 2 deletions eslint-plugin/lib/rules/no-import-all-from-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = {

if (option.importByNamespaceNotAllowedLibraries) {
notAllowedLibraries.push(
...option.importByNamespaceNotAllowedLibraries
...option.importByNamespaceNotAllowedLibraries,
);
}
}
Expand All @@ -81,7 +81,7 @@ module.exports = {
} else if (
importByNamespaceNotAllowedLibraries.includes(currentLibrary) &&
node.specifiers.some(
(specifier) => specifier.type === "ImportNamespaceSpecifier"
(specifier) => specifier.type === "ImportNamespaceSpecifier",
)
) {
context.report({
Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin/lib/rules/no-multiple-style-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {
e.type === "ExpressionStatement" &&
e.expression.type === "AssignmentExpression" &&
isNodeUseStyleProperty(e.expression.left) &&
e.expression.left.object.object.name === domElementName
e.expression.left.object.object.name === domElementName,
);

// De-duplication, prevents multiple alerts for each line involved
Expand Down
6 changes: 3 additions & 3 deletions eslint-plugin/lib/rules/prefer-collections-with-pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const PAGINATION_KEY_WORDS = ["page", "pagination", "paginated"];

const isPaginationName = (name) => {
return PAGINATION_KEY_WORDS.some((keyWord) =>
name.toLowerCase().includes(keyWord)
name.toLowerCase().includes(keyWord),
);
};

Expand All @@ -35,7 +35,7 @@ const isPaginated = (objectType) => {
if (
objectType.members != null &&
objectType.members.some(
(member) => member.key != null && isPaginationName(member.key.name)
(member) => member.key != null && isPaginationName(member.key.name),
)
) {
return true;
Expand Down Expand Up @@ -81,7 +81,7 @@ module.exports = {
node.parent.parent.parent.type === "ClassDeclaration" &&
node.parent.parent.parent.decorators.find(
(decorator) =>
decorator.expression.callee.name.toLowerCase() === "controller"
decorator.expression.callee.name.toLowerCase() === "controller",
)
) {
const getMethod = node.parent;
Expand Down
16 changes: 8 additions & 8 deletions eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.6.0",
"eslint-doc-generator": "^1.0.0",
"eslint-plugin-eslint-plugin": "^5.0.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-doc-generator": "^1.4.3",
"eslint-plugin-eslint-plugin": "^5.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"mkdirp": "^3.0.1",
"mocha": "^10.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.0.3"
"typescript": "^5.1.6"
},
"engines": {
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
Expand Down
Loading

0 comments on commit 0302ef8

Please sign in to comment.