eslint 8.12.0 → 8.15.0

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.
@@ -7,5 +7,5 @@ module.exports = function(it) {
7
7
  Failed to read JSON file at ${path}:
8
8
 
9
9
  ${message}
10
- `.trimLeft();
10
+ `.trimStart();
11
11
  };
@@ -6,5 +6,5 @@ module.exports = function(it) {
6
6
  return `
7
7
  No files matching the pattern "${pattern}"${globDisabled ? " (with disabling globs)" : ""} were found.
8
8
  Please check for typing mistakes in the pattern.
9
- `.trimLeft();
9
+ `.trimStart();
10
10
  };
@@ -11,5 +11,5 @@ ESLint couldn't find a configuration file. To set up a configuration file for th
11
11
  ESLint looked for configuration files in ${directoryPath} and its ancestors. If it found none, it then looked in your home directory.
12
12
 
13
13
  If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://eslint.org/chat/help
14
- `.trimLeft();
14
+ `.trimStart();
15
15
  };
@@ -12,5 +12,5 @@ module.exports = function(it) {
12
12
  "${configName}" was referenced from the config file in "${importerName}".
13
13
 
14
14
  If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
15
- `.trimLeft();
15
+ `.trimStart();
16
16
  };
@@ -15,5 +15,5 @@ It's likely that the plugin isn't installed correctly. Try reinstalling by runni
15
15
  The plugin "${pluginName}" was referenced from the config file in "${importerName}".
16
16
 
17
17
  If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
18
- `.trimLeft();
18
+ `.trimStart();
19
19
  };
@@ -4,5 +4,5 @@ module.exports = function() {
4
4
  return `
5
5
  The '--print-config' CLI option requires a path to a source code file rather than a directory.
6
6
  See also: https://eslint.org/docs/user-guide/command-line-interface#--print-config
7
- `.trimLeft();
7
+ `.trimStart();
8
8
  };
@@ -7,5 +7,5 @@ module.exports = function(it) {
7
7
  ESLint couldn't find the plugin "${pluginName}". because there is whitespace in the name. Please check your configuration and remove all whitespace from the plugin name.
8
8
 
9
9
  If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
10
- `.trimLeft();
10
+ `.trimStart();
11
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint",
3
- "version": "8.12.0",
3
+ "version": "8.15.0",
4
4
  "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
5
5
  "description": "An AST-based pattern checker for JavaScript.",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "lint-staged": {
34
34
  "*.js": "eslint --fix",
35
- "*.md": "markdownlint"
35
+ "*.md": "markdownlint --fix"
36
36
  },
37
37
  "files": [
38
38
  "LICENSE",
@@ -47,7 +47,7 @@
47
47
  "homepage": "https://eslint.org",
48
48
  "bugs": "https://github.com/eslint/eslint/issues/",
49
49
  "dependencies": {
50
- "@eslint/eslintrc": "^1.2.1",
50
+ "@eslint/eslintrc": "^1.2.3",
51
51
  "@humanwhocodes/config-array": "^0.9.2",
52
52
  "ajv": "^6.10.0",
53
53
  "chalk": "^4.0.0",
@@ -58,7 +58,7 @@
58
58
  "eslint-scope": "^7.1.1",
59
59
  "eslint-utils": "^3.0.0",
60
60
  "eslint-visitor-keys": "^3.3.0",
61
- "espree": "^9.3.1",
61
+ "espree": "^9.3.2",
62
62
  "esquery": "^1.4.0",
63
63
  "esutils": "^2.0.2",
64
64
  "fast-deep-equal": "^3.1.3",
@@ -74,7 +74,7 @@
74
74
  "json-stable-stringify-without-jsonify": "^1.0.1",
75
75
  "levn": "^0.4.1",
76
76
  "lodash.merge": "^4.6.2",
77
- "minimatch": "^3.0.4",
77
+ "minimatch": "^3.1.2",
78
78
  "natural-compare": "^1.4.0",
79
79
  "optionator": "^0.9.1",
80
80
  "regexpp": "^3.2.0",