Skip to content

Commit

Permalink
Merge pull request #750 from droidsolutions/dependabot/npm_and_yarn/t…
Browse files Browse the repository at this point in the history
…ypescript-eslint-c597fa88a8

chore(deps-dev): bump the typescript-eslint group with 2 updates
  • Loading branch information
Kampfmoehre committed Aug 5, 2024
2 parents 1e4122a + 8893c2b commit 798191f
Show file tree
Hide file tree
Showing 4 changed files with 611 additions and 63 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = {
"linebreak-style": ["error", "unix"],
quotes: ["error", "double", { avoidEscape: true }],
semi: ["error", "always"],
"@typescript-eslint/quotes": ["warn", "double", { allowTemplateLiterals: true, avoidEscape: true }],
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"prettier/prettier": "error",
"node/no-unsupported-features/es-syntax": ["error", { ignores: ["modules"] }],
Expand Down
2 changes: 1 addition & 1 deletion lib/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const verify = async (pluginConfig: Config & UserConfig, context: VerifyC

let packageName = pluginConfig.packageName || process.env["npm_package_name"];
if (!packageName) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires
const pjson = require(path.resolve("package.json")) as { name: string };
context.logger.log(`reading package name ${pjson.name} from package.json`);
packageName = pjson.name;
Expand Down
Loading

0 comments on commit 798191f

Please sign in to comment.