@anolilab/eslint-config 11.2.0 → 11.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/config/plugins/import.js.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## @anolilab/eslint-config [11.2.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.2.0...@anolilab/eslint-config@11.2.1) (2023-08-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Update package dependencies ([a8786f2](https://github.com/anolilab/javascript-style-guide/commit/a8786f219badb9ebd4af825d28be85d3d2eea89c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Dependencies
|
|
11
|
+
|
|
12
|
+
* **@anolilab/package-json-utils:** upgraded to 3.0.3
|
|
13
|
+
* **@anolilab/semantic-release-preset:** upgraded to 6.0.3
|
|
14
|
+
|
|
1
15
|
## @anolilab/eslint-config [11.2.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.1.0...@anolilab/eslint-config@11.2.0) (2023-08-03)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/config/plugins/import.ts"],"names":["fromRoot","hasTypescript","config","createConfigs","import_default"],"mappings":"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","sourcesContent":["import { fromRoot, hasTypescript } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\nimport { createConfigs } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n env: {\n es6: true,\n },\n\n parserOptions: {\n ecmaVersion: 6,\n sourceType: \"module\",\n },\n plugins: [\"import\"],\n rules: {\n // Static analysis:\n\n // ensure imports point to files/modules that can be resolved\n // https://github.com/import-js/eslint-plugin-import/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/consistent-type-specifier-style.md\n \"import/consistent-type-specifier-style\": [\"error\", \"prefer-top-level\"],\n\n // ensure named imports coupled with named exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/default.md#when-not-to-use-it\n \"import/default\": \"off\",\n\n // ensure default import coupled with default export\n // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/dynamic-import-chunkname.md\n \"import/dynamic-import-chunkname\": [\n \"off\",\n {\n importFunctions: [],\n webpackChunknameFormat: \"[0-9a-zA-Z-_/.]+\",\n },\n ],\n\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md\n \"import/export\": \"error\",\n\n // Helpful warnings:\n\n // disallow invalid exports, e.g. multiple defaults\n // https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md\n \"import/exports-last\": \"error\",\n\n // do not allow a default import name to match a named export\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md\n \"import/extensions\": [\n \"error\",\n \"ignorePackages\",\n {\n cjs: \"never\",\n js: \"never\",\n jsx: \"never\",\n mjs: \"never\",\n },\n ],\n\n // warn on accessing default export property names that are also named exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md\n \"import/first\": \"error\",\n\n // disallow use of jsdoc-marked-deprecated imports\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/group-exports.md\n \"import/group-exports\": \"off\",\n\n // Forbid the use of extraneous packages\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md\n // deprecated: use `import/first`\n \"import/imports-first\": \"off\",\n\n // Forbid mutable exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/max-dependencies.md\n \"import/max-dependencies\": [\"off\", { max: 10 }],\n\n // Module systems:\n\n // disallow require()\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md#when-not-to-use-it\n \"import/named\": \"error\",\n\n // disallow AMD require/define\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/namespace.md\n \"import/namespace\": \"off\",\n\n // No Node.js builtin modules\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md\n \"import/newline-after-import\": \"error\",\n\n // Style guide:\n\n // disallow non-import statements appearing before import statements\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md\n \"import/no-absolute-path\": \"error\",\n\n // disallow non-import statements appearing before import statements\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-amd.md\n \"import/no-amd\": \"error\",\n\n // disallow duplicate imports\n // https://github.com/benmosher/eslint-plugin-import/blob/d9b712ac7fd1fddc391f7b234827925c160d956f/docs/rules/no-anonymous-default-export.md\n \"import/no-anonymous-default-export\": [\n \"off\",\n {\n allowAnonymousClass: false,\n allowAnonymousFunction: false,\n allowArray: false,\n allowArrowFunction: false,\n allowLiteral: false,\n allowObject: false,\n },\n ],\n\n // disallow namespace imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-commonjs.md\n \"import/no-commonjs\": \"off\",\n\n // Ensure consistent use of file extension within the import path\n // https://medium.com/@steven-lemon182/are-typescript-barrel-files-an-anti-pattern-72a713004250\n \"import/no-cycle\": [\"error\", { maxDepth: \"∞\" }],\n\n // ensure absolute imports are above relative imports and that unassigned imports are ignored\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-default-export.md\n \"import/no-default-export\": \"off\",\n\n // Require a newline after the last import/require in a group\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-deprecated.md\n \"import/no-deprecated\": \"off\",\n\n // Require modules with a single export to use a default export\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md\n \"import/no-duplicates\": \"error\",\n\n // Restrict which files can be imported in a given folder\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-dynamic-require.md\n \"import/no-dynamic-require\": \"error\",\n\n // Forbid modules to have too many dependencies\n // https://github.com/import-js/eslint-plugin-import/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/no-empty-named-blocks.md\n \"import/no-empty-named-blocks\": \"error\",\n\n // Forbid import of modules using absolute paths\n // are treated both as absolute paths, and relative to process.cwd()\n \"import/no-extraneous-dependencies\": [\n \"error\",\n {\n devDependencies: [\n \"test/**\", // tape, common npm pattern\n \"tests/**\", // also common npm pattern\n \"spec/**\", // mocha, rspec-like pattern\n \"**/fixture/**\", // jest pattern\n \"**/__mocks__/**\", // jest pattern\n \"test.{js,jsx}\", // repos with a single test file\n \"test-*.{js,jsx}\", // repos with multiple top-level test files\n \"**/*{.,_}{test,spec}.{js,jsx}\", // tests where the extension or filename suffix denotes that it is a test\n \"**/jest.config.cjs\", // jest config\n \"**/jest.setup.js\", // jest setup\n \"**/vue.config.cjs\", // vue-cli config\n \"**/webpack.config.cjs\", // webpack config\n \"**/webpack.config.*.js\", // webpack config\n \"**/rollup.config.cjs\", // rollup config\n \"**/rollup.config.*.js\", // rollup config\n \"**/gulpfile.js\", // gulp config\n \"**/gulpfile.*.js\", // gulp config\n \"**/Gruntfile{,.js}\", // grunt config\n \"**/protractor.conf.js\", // protractor config\n \"**/protractor.conf.*.js\", // protractor config\n \"**/karma.conf.js\", // karma config\n \"**/.eslintrc.js\", // eslint config\n \"**/.eslintrc.cjs\", // eslint config\n \"**/.eslintrc.mjs\", // eslint config\n \"**/vite.config.js\", // vite config\n \"**/vite.config.ts\", // vite config\n \"**/vitest.config.js\", // vitest config\n \"**/vitest.config.ts\", // vitest config\n \"**/__tests__/**/*.?(c|m)[jt]s?(x)\", // vitest config test include\n \"**/?(*.){test,spec}.?(c|m)[jt]s?(x)\", // vitest config test include\n ],\n optionalDependencies: false,\n },\n ],\n\n // Forbid require() calls with expressions\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-internal-modules.md\n \"import/no-internal-modules\": [\n \"off\",\n {\n allow: [],\n },\n ],\n\n // prevent importing the submodules of other modules\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-mutable-exports.md\n \"import/no-mutable-exports\": \"error\",\n\n // Warn if a module could be mistakenly parsed as a script by a consumer\n // leveraging Unambiguous JavaScript Grammar\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/unambiguous.md\n // this should not be enabled until this proposal has at least been *presented* to TC39.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default.md\n \"import/no-named-as-default\": \"error\",\n\n // Forbid Webpack loader syntax in imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md\n \"import/no-named-as-default-member\": \"error\",\n\n // Prevent unassigned imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unassigned-import.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-default.md\n \"import/no-named-default\": \"error\",\n\n // Prevent importing the default as if it were named\n // https://github.com/benmosher/eslint-plugin-import/blob/1ec80fa35fa1819e2d35a70e68fb6a149fb57c5e/docs/rules/no-named-export.md\n \"import/no-named-export\": \"off\",\n\n // Reports if a module's default export is unnamed\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-namespace.md\n \"import/no-namespace\": \"error\",\n\n // This rule enforces that all exports are declared at the bottom of the file.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-nodejs-modules.md\n \"import/no-nodejs-modules\": \"off\",\n\n // Reports when named exports are not grouped together in a single export declaration\n // or when multiple assignments to CommonJS const config or exports object are present\n // in a single file.\n // https://github.com/benmosher/eslint-plugin-import/blob/c34f14f67f077acd5a61b3da9c0b0de298d20059/docs/rules/no-relative-parent-imports.md\n \"import/no-relative-parent-imports\": \"off\",\n\n // forbid default exports. this is a terrible rule, do not use it.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-restricted-paths.md\n \"import/no-restricted-paths\": \"off\",\n\n // Prohibit named exports. this is a terrible rule, do not use it.\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-self-import.md\n \"import/no-self-import\": \"error\",\n\n // Forbid a module from importing itself\n // importing for side effects is perfectly acceptable, if you need side effects.\n \"import/no-unassigned-import\": \"off\",\n\n // Forbid cyclical dependencies between modules\n // https://github.com/benmosher/eslint-plugin-import/blob/d81f48a2506182738409805f5272eff4d77c9348/docs/rules/no-cycle.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md\n \"import/no-unresolved\": [\"error\", { caseSensitive: true, commonjs: true }],\n\n // Ensures that there are no useless path segments\n // Note: you must disable the base rule as it can report incorrect errors\n \"import/no-unused-modules\": \"off\",\n\n // dynamic imports require a leading comment with a webpackChunkName\n // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/no-useless-path-segments.md\n \"import/no-useless-path-segments\": [\"error\", { commonjs: true, noUselessIndex: true }],\n\n // Use this rule to prevent imports to folders in relative parent paths.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md\n \"import/no-webpack-loader-syntax\": \"error\",\n\n // Reports modules without any exports, or with unused exports\n // https://github.com/benmosher/eslint-plugin-import/blob/f63dd261809de6883b13b6b5b960e6d7f42a7813/docs/rules/no-unused-modules.md\n \"import/order\": [\n \"error\",\n {\n groups: [[\"builtin\", \"external\", \"internal\"]],\n },\n ],\n\n // enforce a consistent style for type specifiers (inline or top-level)\n // https://github.com/import-js/eslint-plugin-import/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/consistent-type-specifier-style.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md\n \"import/prefer-default-export\": \"error\",\n\n // Reports the use of empty named import blocks.\n // At the moment, it's not a thing.\n \"import/unambiguous\": \"off\",\n },\n settings: {\n \"import/core-modules\": [],\n // https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/extensions.md\n \"import/extensions\": [\".js\", \".cjs\", \".mjs\", \".jsx\"],\n // Ensure consistent use of file extension within the import path\n \"import/ignore\": [\"\\\\.(coffee|scss|css|less|hbs|svg|json)$\"],\n \"import/resolver\": {\n node: {\n extensions: [\".mjs\", \".js\", \".json\"],\n },\n ...(hasTypescript\n ? {\n typescript: {\n alwaysTryTypes: true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`\n project: fromRoot(\"tsconfig.json\"),\n },\n }\n : {}),\n },\n },\n },\n type: \"all\",\n },\n {\n config: {\n extends: [\"plugin:import/typescript\"],\n rules: {\n // Does not work when the TS definition exports a default const.\n \"import/default\": \"off\",\n\n // Disabled because of https://github.com/benmosher/eslint-plugin-import/issues/1590\n \"import/export\": \"off\",\n\n // Disabled as it doesn't work with TypeScript.\n \"import/extensions\": [\n \"error\",\n \"ignorePackages\",\n {\n js: \"never\",\n jsx: \"never\",\n mjs: \"never\",\n ts: \"never\",\n tsx: \"never\",\n },\n ],\n\n // This issue and some others: https://github.com/benmosher/eslint-plugin-import/issues/1341\n \"import/named\": \"off\",\n\n // Enforce consistent usage of type imports.\n \"import/no-unresolved\": \"off\",\n },\n settings: {\n // Append 'ts' extensions to 'import/extensions' setting\n \"import/extensions\": [\".js\", \".mjs\", \".jsx\", \".ts\", \".tsx\", \".d.ts\", \".cjs\", \".cts\", \".mts\"],\n\n // Resolve type definition packages\n \"import/external-module-folders\": [\"node_modules\", \"node_modules/@types\"],\n\n // Apply special parsing for TypeScript files\n \"import/parsers\": {\n \"@typescript-eslint/parser\": [\".ts\", \".cts\", \".mts\", \".tsx\", \".d.ts\"],\n },\n\n // Append 'ts' extensions to 'import/resolver' setting\n \"import/resolver\": {\n node: {\n extensions: [\".mjs\", \".cjs\", \".js\", \".json\", \".ts\", \".d.ts\"],\n },\n },\n },\n },\n type: \"typescript\",\n },\n {\n config: {\n rules: {\n \"import/no-duplicates\": \"off\",\n },\n },\n type: \"d.ts\",\n },\n]);\n\nexport default config;\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/config/plugins/import.ts"],"names":["fromRoot","hasTypescript","config","createConfigs","import_default"],"mappings":"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","sourcesContent":["import { fromRoot, hasTypescript } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\nimport { createConfigs } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n env: {\n es6: true,\n },\n\n parserOptions: {\n ecmaVersion: 6,\n sourceType: \"module\",\n },\n plugins: [\"import\"],\n rules: {\n // Static analysis:\n\n // ensure imports point to files/modules that can be resolved\n // https://github.com/un-es/eslint-plugin-i/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/consistent-type-specifier-style.md\n \"import/consistent-type-specifier-style\": [\"error\", \"prefer-top-level\"],\n\n // ensure named imports coupled with named exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/default.md#when-not-to-use-it\n \"import/default\": \"off\",\n\n // ensure default import coupled with default export\n // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/dynamic-import-chunkname.md\n \"import/dynamic-import-chunkname\": [\n \"off\",\n {\n importFunctions: [],\n webpackChunknameFormat: \"[0-9a-zA-Z-_/.]+\",\n },\n ],\n\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md\n \"import/export\": \"error\",\n\n // Helpful warnings:\n\n // disallow invalid exports, e.g. multiple defaults\n // https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md\n \"import/exports-last\": \"error\",\n\n // do not allow a default import name to match a named export\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md\n \"import/extensions\": [\n \"error\",\n \"ignorePackages\",\n {\n cjs: \"never\",\n js: \"never\",\n jsx: \"never\",\n mjs: \"never\",\n },\n ],\n\n // warn on accessing default export property names that are also named exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md\n \"import/first\": \"error\",\n\n // disallow use of jsdoc-marked-deprecated imports\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/group-exports.md\n \"import/group-exports\": \"off\",\n\n // Forbid the use of extraneous packages\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md\n // deprecated: use `import/first`\n \"import/imports-first\": \"off\",\n\n // Forbid mutable exports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/max-dependencies.md\n \"import/max-dependencies\": [\"off\", { max: 10 }],\n\n // Module systems:\n\n // disallow require()\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md#when-not-to-use-it\n \"import/named\": \"error\",\n\n // disallow AMD require/define\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/namespace.md\n \"import/namespace\": \"off\",\n\n // No Node.js builtin modules\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md\n \"import/newline-after-import\": \"error\",\n\n // Style guide:\n\n // disallow non-import statements appearing before import statements\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md\n \"import/no-absolute-path\": \"error\",\n\n // disallow non-import statements appearing before import statements\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-amd.md\n \"import/no-amd\": \"error\",\n\n // disallow duplicate imports\n // https://github.com/benmosher/eslint-plugin-import/blob/d9b712ac7fd1fddc391f7b234827925c160d956f/docs/rules/no-anonymous-default-export.md\n \"import/no-anonymous-default-export\": [\n \"off\",\n {\n allowAnonymousClass: false,\n allowAnonymousFunction: false,\n allowArray: false,\n allowArrowFunction: false,\n allowLiteral: false,\n allowObject: false,\n },\n ],\n\n // disallow namespace imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-commonjs.md\n \"import/no-commonjs\": \"off\",\n\n // Ensure consistent use of file extension within the import path\n // https://medium.com/@steven-lemon182/are-typescript-barrel-files-an-anti-pattern-72a713004250\n \"import/no-cycle\": [\"error\", { maxDepth: \"∞\" }],\n\n // ensure absolute imports are above relative imports and that unassigned imports are ignored\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-default-export.md\n \"import/no-default-export\": \"off\",\n\n // Require a newline after the last import/require in a group\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-deprecated.md\n \"import/no-deprecated\": \"off\",\n\n // Require modules with a single export to use a default export\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md\n \"import/no-duplicates\": \"error\",\n\n // Restrict which files can be imported in a given folder\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-dynamic-require.md\n \"import/no-dynamic-require\": \"error\",\n\n // Forbid modules to have too many dependencies\n // https://github.com/un-es/eslint-plugin-i/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/no-empty-named-blocks.md\n \"import/no-empty-named-blocks\": \"error\",\n\n // Forbid import of modules using absolute paths\n // are treated both as absolute paths, and relative to process.cwd()\n \"import/no-extraneous-dependencies\": [\n \"error\",\n {\n devDependencies: [\n \"test/**\", // tape, common npm pattern\n \"tests/**\", // also common npm pattern\n \"spec/**\", // mocha, rspec-like pattern\n \"**/fixture/**\", // jest pattern\n \"**/__mocks__/**\", // jest pattern\n \"test.{js,jsx}\", // repos with a single test file\n \"test-*.{js,jsx}\", // repos with multiple top-level test files\n \"**/*{.,_}{test,spec}.{js,jsx}\", // tests where the extension or filename suffix denotes that it is a test\n \"**/jest.config.cjs\", // jest config\n \"**/jest.setup.js\", // jest setup\n \"**/vue.config.cjs\", // vue-cli config\n \"**/webpack.config.cjs\", // webpack config\n \"**/webpack.config.*.js\", // webpack config\n \"**/rollup.config.cjs\", // rollup config\n \"**/rollup.config.*.js\", // rollup config\n \"**/gulpfile.js\", // gulp config\n \"**/gulpfile.*.js\", // gulp config\n \"**/Gruntfile{,.js}\", // grunt config\n \"**/protractor.conf.js\", // protractor config\n \"**/protractor.conf.*.js\", // protractor config\n \"**/karma.conf.js\", // karma config\n \"**/.eslintrc.js\", // eslint config\n \"**/.eslintrc.cjs\", // eslint config\n \"**/.eslintrc.mjs\", // eslint config\n \"**/vite.config.js\", // vite config\n \"**/vite.config.ts\", // vite config\n \"**/vitest.config.js\", // vitest config\n \"**/vitest.config.ts\", // vitest config\n \"**/__tests__/**/*.?(c|m)[jt]s?(x)\", // vitest config test include\n \"**/?(*.){test,spec}.?(c|m)[jt]s?(x)\", // vitest config test include\n ],\n optionalDependencies: false,\n },\n ],\n\n // Forbid require() calls with expressions\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-internal-modules.md\n \"import/no-internal-modules\": [\n \"off\",\n {\n allow: [],\n },\n ],\n\n // prevent importing the submodules of other modules\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-mutable-exports.md\n \"import/no-mutable-exports\": \"error\",\n\n // Warn if a module could be mistakenly parsed as a script by a consumer\n // leveraging Unambiguous JavaScript Grammar\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/unambiguous.md\n // this should not be enabled until this proposal has at least been *presented* to TC39.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default.md\n \"import/no-named-as-default\": \"error\",\n\n // Forbid Webpack loader syntax in imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md\n \"import/no-named-as-default-member\": \"error\",\n\n // Prevent unassigned imports\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unassigned-import.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-default.md\n \"import/no-named-default\": \"error\",\n\n // Prevent importing the default as if it were named\n // https://github.com/benmosher/eslint-plugin-import/blob/1ec80fa35fa1819e2d35a70e68fb6a149fb57c5e/docs/rules/no-named-export.md\n \"import/no-named-export\": \"off\",\n\n // Reports if a module's default export is unnamed\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-namespace.md\n \"import/no-namespace\": \"error\",\n\n // This rule enforces that all exports are declared at the bottom of the file.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-nodejs-modules.md\n \"import/no-nodejs-modules\": \"off\",\n\n // Reports when named exports are not grouped together in a single export declaration\n // or when multiple assignments to CommonJS const config or exports object are present\n // in a single file.\n // https://github.com/benmosher/eslint-plugin-import/blob/c34f14f67f077acd5a61b3da9c0b0de298d20059/docs/rules/no-relative-parent-imports.md\n \"import/no-relative-parent-imports\": \"off\",\n\n // forbid default exports. this is a terrible rule, do not use it.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-restricted-paths.md\n \"import/no-restricted-paths\": \"off\",\n\n // Prohibit named exports. this is a terrible rule, do not use it.\n // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-self-import.md\n \"import/no-self-import\": \"error\",\n\n // Forbid a module from importing itself\n // importing for side effects is perfectly acceptable, if you need side effects.\n \"import/no-unassigned-import\": \"off\",\n\n // Forbid cyclical dependencies between modules\n // https://github.com/benmosher/eslint-plugin-import/blob/d81f48a2506182738409805f5272eff4d77c9348/docs/rules/no-cycle.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md\n \"import/no-unresolved\": [\"error\", { caseSensitive: true, commonjs: true }],\n\n // Ensures that there are no useless path segments\n // Note: you must disable the base rule as it can report incorrect errors\n \"import/no-unused-modules\": \"off\",\n\n // dynamic imports require a leading comment with a webpackChunkName\n // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/no-useless-path-segments.md\n \"import/no-useless-path-segments\": [\"error\", { commonjs: true, noUselessIndex: true }],\n\n // Use this rule to prevent imports to folders in relative parent paths.\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md\n \"import/no-webpack-loader-syntax\": \"error\",\n\n // Reports modules without any exports, or with unused exports\n // https://github.com/benmosher/eslint-plugin-import/blob/f63dd261809de6883b13b6b5b960e6d7f42a7813/docs/rules/no-unused-modules.md\n \"import/order\": [\n \"error\",\n {\n groups: [[\"builtin\", \"external\", \"internal\"]],\n },\n ],\n\n // enforce a consistent style for type specifiers (inline or top-level)\n // https://github.com/un-es/eslint-plugin-i/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/consistent-type-specifier-style.md\n // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md\n \"import/prefer-default-export\": \"error\",\n\n // Reports the use of empty named import blocks.\n // At the moment, it's not a thing.\n \"import/unambiguous\": \"off\",\n },\n settings: {\n \"import/core-modules\": [],\n // https://github.com/un-es/eslint-plugin-i/blob/master/docs/rules/extensions.md\n \"import/extensions\": [\".js\", \".cjs\", \".mjs\", \".jsx\"],\n // Ensure consistent use of file extension within the import path\n \"import/ignore\": [\"\\\\.(coffee|scss|css|less|hbs|svg|json)$\"],\n \"import/resolver\": {\n node: {\n extensions: [\".mjs\", \".js\", \".json\"],\n },\n ...(hasTypescript\n ? {\n typescript: {\n alwaysTryTypes: true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`\n project: fromRoot(\"tsconfig.json\"),\n },\n }\n : {}),\n },\n },\n },\n type: \"all\",\n },\n {\n config: {\n extends: [\"plugin:import/typescript\"],\n rules: {\n // Does not work when the TS definition exports a default const.\n \"import/default\": \"off\",\n\n // Disabled because of https://github.com/benmosher/eslint-plugin-import/issues/1590\n \"import/export\": \"off\",\n\n // Disabled as it doesn't work with TypeScript.\n \"import/extensions\": [\n \"error\",\n \"ignorePackages\",\n {\n js: \"never\",\n jsx: \"never\",\n mjs: \"never\",\n ts: \"never\",\n tsx: \"never\",\n },\n ],\n\n // This issue and some others: https://github.com/benmosher/eslint-plugin-import/issues/1341\n \"import/named\": \"off\",\n\n // Enforce consistent usage of type imports.\n \"import/no-unresolved\": \"off\",\n },\n settings: {\n // Append 'ts' extensions to 'import/extensions' setting\n \"import/extensions\": [\".js\", \".mjs\", \".jsx\", \".ts\", \".tsx\", \".d.ts\", \".cjs\", \".cts\", \".mts\"],\n\n // Resolve type definition packages\n \"import/external-module-folders\": [\"node_modules\", \"node_modules/@types\"],\n\n // Apply special parsing for TypeScript files\n \"import/parsers\": {\n \"@typescript-eslint/parser\": [\".ts\", \".cts\", \".mts\", \".tsx\", \".d.ts\"],\n },\n\n // Append 'ts' extensions to 'import/resolver' setting\n \"import/resolver\": {\n node: {\n extensions: [\".mjs\", \".cjs\", \".js\", \".json\", \".ts\", \".d.ts\"],\n },\n },\n },\n },\n type: \"typescript\",\n },\n {\n config: {\n rules: {\n \"import/no-duplicates\": \"off\",\n },\n },\n type: \"d.ts\",\n },\n]);\n\nexport default config;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/eslint-config",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.1",
|
|
4
4
|
"description": "ESLint shareable config for the Anolilab JavaScript style guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -126,15 +126,15 @@
|
|
|
126
126
|
"postinstall": "node ./skip.js || node ./dist/postinstall.js"
|
|
127
127
|
},
|
|
128
128
|
"dependencies": {
|
|
129
|
-
"@anolilab/package-json-utils": "3.0.
|
|
129
|
+
"@anolilab/package-json-utils": "3.0.3",
|
|
130
130
|
"@babel/eslint-parser": "^7.22.9",
|
|
131
131
|
"@babel/plugin-syntax-import-assertions": "^7.22.5",
|
|
132
132
|
"@html-eslint/eslint-plugin": "^0.19.1",
|
|
133
133
|
"@html-eslint/parser": "^0.19.1",
|
|
134
134
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
135
135
|
"@rushstack/eslint-plugin-security": "^0.6.0",
|
|
136
|
-
"@typescript-eslint/eslint-plugin": ">=6.2.
|
|
137
|
-
"@typescript-eslint/parser": "^6.2.
|
|
136
|
+
"@typescript-eslint/eslint-plugin": ">=6.2.1",
|
|
137
|
+
"@typescript-eslint/parser": "^6.2.1",
|
|
138
138
|
"confusing-browser-globals": "^1.0.11",
|
|
139
139
|
"eslint-define-config": "^1.22.0",
|
|
140
140
|
"eslint-import-resolver-node": "^0.3.7",
|
|
@@ -144,21 +144,21 @@
|
|
|
144
144
|
"eslint-plugin-es-x": "^7.2.0",
|
|
145
145
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
146
146
|
"eslint-plugin-html": "^7.1.0",
|
|
147
|
-
"eslint-plugin-i": "^2.
|
|
147
|
+
"eslint-plugin-i": "^2.28.0",
|
|
148
148
|
"eslint-plugin-jsonc": "^2.9.0",
|
|
149
|
-
"eslint-plugin-markdown": "^3.0.
|
|
149
|
+
"eslint-plugin-markdown": "^3.0.1",
|
|
150
150
|
"eslint-plugin-mdx": "^2.1.0",
|
|
151
151
|
"eslint-plugin-no-loops": "^0.3.0",
|
|
152
152
|
"eslint-plugin-no-secrets": "^0.8.9",
|
|
153
153
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
154
|
-
"eslint-plugin-perfectionist": "^1.5.
|
|
154
|
+
"eslint-plugin-perfectionist": "^1.5.1",
|
|
155
155
|
"eslint-plugin-promise": "^6.1.1",
|
|
156
156
|
"eslint-plugin-regexp": "^1.15.0",
|
|
157
157
|
"eslint-plugin-security": "^1.7.1",
|
|
158
158
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
159
159
|
"eslint-plugin-sonarjs": "^0.19.0",
|
|
160
160
|
"eslint-plugin-toml": "^0.5.0",
|
|
161
|
-
"eslint-plugin-unicorn": "^48.0.
|
|
161
|
+
"eslint-plugin-unicorn": "^48.0.1",
|
|
162
162
|
"eslint-plugin-yml": "^1.8.0",
|
|
163
163
|
"find-up": "5.0.0",
|
|
164
164
|
"globals": "^13.20.0",
|
|
@@ -166,11 +166,11 @@
|
|
|
166
166
|
"read-pkg-up": "^7.0.1",
|
|
167
167
|
"semver": "^7.5.4",
|
|
168
168
|
"toml-eslint-parser": "^0.6.0",
|
|
169
|
-
"tsup": "^7.
|
|
169
|
+
"tsup": "^7.2.0",
|
|
170
170
|
"yaml-eslint-parser": "^1.2.2"
|
|
171
171
|
},
|
|
172
172
|
"devDependencies": {
|
|
173
|
-
"@anolilab/semantic-release-preset": "6.0.
|
|
173
|
+
"@anolilab/semantic-release-preset": "6.0.3",
|
|
174
174
|
"@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
|
|
175
175
|
"@testing-library/dom": "^9.3.1",
|
|
176
176
|
"@total-typescript/ts-reset": "^0.4.2",
|
|
@@ -205,17 +205,17 @@
|
|
|
205
205
|
"react": "^18.2.0",
|
|
206
206
|
"rimraf": "^5.0.1",
|
|
207
207
|
"semantic-release": "^21.0.7",
|
|
208
|
-
"tsup": "^7.
|
|
208
|
+
"tsup": "^7.2.0",
|
|
209
209
|
"type-fest": "^4.1.0",
|
|
210
210
|
"typescript": "^5.1.6",
|
|
211
|
-
"vitest": "^0.
|
|
211
|
+
"vitest": "^0.34.1"
|
|
212
212
|
},
|
|
213
213
|
"peerDependencies": {
|
|
214
214
|
"eslint": "^8.15.0"
|
|
215
215
|
},
|
|
216
216
|
"optionalDependencies": {
|
|
217
217
|
"@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
|
|
218
|
-
"@tanstack/eslint-plugin-query": "^4.32.
|
|
218
|
+
"@tanstack/eslint-plugin-query": "^4.32.5",
|
|
219
219
|
"eslint-plugin-array-func": "^3.1.8",
|
|
220
220
|
"eslint-plugin-ava": "^14.0.0",
|
|
221
221
|
"eslint-plugin-babel": "^5.3.1",
|