diff --git a/.github/workflows/release/github.js b/.github/workflows/release/github.js index 5b2e58b..b3e5a37 100644 --- a/.github/workflows/release/github.js +++ b/.github/workflows/release/github.js @@ -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), ); \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js index c8c26b2..c917cb5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -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, @@ -21,5 +21,4 @@ export default new ESLint({ // Add your custom rules here }, }, - ignores: ["node_modules/**", "coverage", "**/templates"], }); \ No newline at end of file