Skip to content

Commit

Permalink
Reinstate ESM import linting (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott authored Oct 11, 2024
1 parent 983b96a commit 2beecc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jsdocPlugin from 'eslint-plugin-jsdoc';
// import importPlugin from 'eslint-plugin-import';
import importPlugin from 'eslint-plugin-import';
import regexpPlugin from 'eslint-plugin-regexp';

// ESM Script supported JSDoc tags
Expand All @@ -19,7 +19,7 @@ const esmScriptTags = [
export default [
{
plugins: {
// import: importPlugin,
import: importPlugin,
jsdoc: jsdocPlugin,
regexp: regexpPlugin
},
Expand Down Expand Up @@ -395,7 +395,6 @@ export default [
"wrap-regex": "off",
"yield-star-spacing": "error",

/*
// Import rules

// Static analysis
Expand All @@ -417,7 +416,6 @@ export default [
// Style guide
"import/extensions": ["error", "always", { "ts": "never", "tsx": "never" }],
"import/no-duplicates": "warn",
*/

// JSDoc rules
"jsdoc/check-access": "error",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"keywords": [
"config",
"eslint",
"eslintrc",
"playcanvas"
],
"license": "MIT",
Expand Down

0 comments on commit 2beecc8

Please sign in to comment.