Skip to content

Commit

Permalink
Tidied code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Dec 12, 2024
1 parent 1583f8c commit d7df702
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release/github.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const fs = require('fs');
const path = require('path');
const package = require('../../../package.json');
const pkg = require('../../../package.json');

package.name = '@dennykorsukewitz/generator-sublime-package';
pkg.name = '@dennykorsukewitz/generator-sublime-package';

// Update package.json with the updated name
fs.writeFileSync(
path.join(__dirname, '../../../package.json'),
JSON.stringify(package, null, 2),
JSON.stringify(pkg, null, 2),
);
5 changes: 2 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// eslint.config.js
import { ESLint } from "eslint";
const { ESLint } = require("eslint");

export default new ESLint({
module.exports = new ESLint({
baseConfig: {
env: {
browser: true,
Expand All @@ -21,5 +21,4 @@ export default new ESLint({
// Add your custom rules here
},
},
ignores: ["node_modules/**", "coverage", "**/templates"],
});

0 comments on commit d7df702

Please sign in to comment.