Skip to content

Commit

Permalink
- Change config back to .js extension and use module.exports
Browse files Browse the repository at this point in the history
- Change `package.json` back to use `"main": "index.js"`
  • Loading branch information
n-older committed Sep 30, 2024
1 parent 1a9f0eb commit 897cf6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javascript/index.mjs → javascript/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const CacheESLintConfig = {
module.exports = {
languageOptions: { globals: { Stimulus: 'readonly' } },
ignores: ['**/vendor/**/*.js'],
rules: {
Expand Down
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eslint-config-cache-ventures",
"version": "2.0.1",
"description": "Cache Venture's ESLint config.",
"module": "index.mjs",
"main": "index.js",
"homepage": "https://github.com/cacheventures/code-style",
"repository": {
"type": "git",
Expand Down

0 comments on commit 897cf6d

Please sign in to comment.