Skip to content

Commit

Permalink
[eslint] Check for possible ESM compatibility issues (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario authored Oct 12, 2023
1 parent 2b1eb04 commit 81415c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ module.exports = {
quotes: ["error", "double"],
"max-len": ["error", 130],
"import/extensions": ["error", "never"],
"import/no-commonjs": ["error", { allowRequire: false, allowPrimitiveModules: false }],
"import/no-extraneous-dependencies": [
"error",
{ devDependencies: true, optionalDependencies: true, peerDependencies: true },
],
"import/no-useless-path-segments": ["error", { noUselessIndex: true }],
"max-classes-per-file": ["error", 10],
"import/prefer-default-export": "off",
"object-curly-newline": "off",
Expand Down

0 comments on commit 81415c8

Please sign in to comment.