-
-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathconstants.js
More file actions
37 lines (29 loc) · 934 Bytes
/
constants.js
File metadata and controls
37 lines (29 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
export const ECMA_FEATURES = ["jsx", "impliedStrict"];
export const ECMA_VERSIONS = [
"3",
"5",
"2015",
"2016",
"2017",
"2018",
"2019",
"2020",
"2021",
"2022",
"2023",
"2024",
"2025",
"2026",
"latest",
];
export const SOURCE_TYPES = ["script", "module", "commonjs"];
export const CONFIG_FORMATS = ["CommonJS", "ESM"];
// GitHub Issue Reporting constants
export const GITHUB_ISSUE_URL = "https://github.com/eslint/eslint/issues/new";
export const MAX_URL_LENGTH = 8148;
export const CLIPBOARD_FALLBACK_MESSAGE =
"<!-- The configuration and code have been saved to clipboard. Please paste them here 👇🏻 -->";
export const REPRO_URL_FALLBACK_MESSAGE =
"<!-- The link to the minimal reproducible example has been copied in What did you do? field above. -->";
export const LINT_OUTPUT_FALLBACK_MESSAGE =
"<!-- The lint output for what actually happened has been copied in What did you do? field above. -->";