eslint 8.11.0 → 8.14.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.
@@ -12,5 +12,5 @@ If you do want to lint these files, try the following solutions:
12
12
 
13
13
  * Check your .eslintignore file, or the eslintIgnore property in package.json, to ensure that the files are not configured to be ignored.
14
14
  * Explicitly list the files from this glob that you'd like to lint on the command-line, rather than providing a glob as an argument.
15
- `.trimLeft();
15
+ `.trimStart();
16
16
  };
@@ -9,5 +9,5 @@ ESLint couldn't find the config "${configName}" to extend from. Please check tha
9
9
  The config "${configName}" was referenced from the config file in "${importerName}".
10
10
 
11
11
  If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
12
- `.trimLeft();
12
+ `.trimStart();
13
13
  };
@@ -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.11.0",
3
+ "version": "8.14.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.2",
51
51
  "@humanwhocodes/config-array": "^0.9.2",
52
52
  "ajv": "^6.10.0",
53
53
  "chalk": "^4.0.0",