@nx/eslint 20.5.0-beta.0 → 20.5.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/eslint",
|
3
|
-
"version": "20.5.0-beta.
|
3
|
+
"version": "20.5.0-beta.1",
|
4
4
|
"private": false,
|
5
5
|
"description": "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"eslint": "^8.0.0 || ^9.0.0"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@nx/devkit": "20.5.0-beta.
|
39
|
-
"@nx/js": "20.5.0-beta.
|
38
|
+
"@nx/devkit": "20.5.0-beta.1",
|
39
|
+
"@nx/js": "20.5.0-beta.1",
|
40
40
|
"semver": "^7.5.3",
|
41
41
|
"tslib": "^2.3.0",
|
42
42
|
"typescript": "~5.7.2"
|
package/src/plugins/plugin.js
CHANGED
@@ -13,7 +13,18 @@ const semver_1 = require("semver");
|
|
13
13
|
const config_file_1 = require("../utils/config-file");
|
14
14
|
const resolve_eslint_class_1 = require("../utils/resolve-eslint-class");
|
15
15
|
const pmc = (0, devkit_1.getPackageManagerCommand)();
|
16
|
-
const DEFAULT_EXTENSIONS = [
|
16
|
+
const DEFAULT_EXTENSIONS = [
|
17
|
+
'ts',
|
18
|
+
'cts',
|
19
|
+
'mts',
|
20
|
+
'tsx',
|
21
|
+
'js',
|
22
|
+
'cjs',
|
23
|
+
'mjs',
|
24
|
+
'jsx',
|
25
|
+
'html',
|
26
|
+
'vue',
|
27
|
+
];
|
17
28
|
const PROJECT_CONFIG_FILENAMES = ['project.json', 'package.json'];
|
18
29
|
const ESLINT_CONFIG_GLOB_V1 = (0, globs_1.combineGlobPatterns)(config_file_1.ESLINT_CONFIG_FILENAMES.map((f) => `**/${f}`));
|
19
30
|
const ESLINT_CONFIG_GLOB_V2 = (0, globs_1.combineGlobPatterns)([
|