Skip to content

Commit

Permalink
Fix Eslint complaining about dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Apr 21, 2023
1 parent 5a21e09 commit 53991be
Show file tree
Hide file tree
Showing 6 changed files with 166 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"sourceType": "module"
},
"plugins": ["node"],
"extends": ["eslint:recommended", "prettier", "plugin:node/recommended"],
"extends": ["eslint:recommended", "prettier", "plugin:n/recommended"],
"rules": {
"indent": "off",
"comma-dangle": "off",
Expand Down
218 changes: 161 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"escape-string-regexp": "^4.0.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"merge-options": "^3.0.4",
"mocha": "^9.2.1",
Expand Down
2 changes: 1 addition & 1 deletion server/start-dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable node/no-unpublished-import */
/* eslint-disable n/no-unpublished-import */

console.log('start-dev process.env.NODE_ENV', process.env.NODE_ENV);

Expand Down

0 comments on commit 53991be

Please sign in to comment.