@codacy/tools-eslint-9 0.6.1 → 0.8.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.
Files changed (3) hide show
  1. package/dist/index.js +3206 -1558
  2. package/dist/metadata.js +93 -1
  3. package/package.json +2 -2
package/dist/metadata.js CHANGED
@@ -23,6 +23,97 @@ __export(metadata_exports, {
23
23
  descriptor: () => descriptor
24
24
  });
25
25
  module.exports = __toCommonJS(metadata_exports);
26
+
27
+ // src/pattern-mappings.json
28
+ var pattern_mappings_default = {
29
+ React: {
30
+ prefixes: [
31
+ "ESLint9_react_",
32
+ "ESLint9_react-hooks_",
33
+ "ESLint9_react-perf_",
34
+ "ESLint9_react-redux_",
35
+ "ESLint9_jsx-a11y_"
36
+ ]
37
+ },
38
+ "Vue.js": {
39
+ prefixes: [
40
+ "ESLint9_vue_",
41
+ "ESLint9_vue-scoped-css_",
42
+ "ESLint9_vuejs-accessibility_",
43
+ "ESLint9_vuetify_"
44
+ ]
45
+ },
46
+ Angular: {
47
+ prefixes: ["ESLint9_angular_", "ESLint9_@angular-eslint_"]
48
+ },
49
+ TypeScript: {
50
+ prefixes: ["ESLint9_@typescript-eslint_"]
51
+ },
52
+ Svelte: {
53
+ prefixes: ["ESLint9_svelte_"]
54
+ },
55
+ Lit: {
56
+ prefixes: ["ESLint9_lit_"]
57
+ },
58
+ "Ember.js": {
59
+ prefixes: ["ESLint9_ember_", "ESLint9_ember-suave_"]
60
+ },
61
+ Nuxt: {
62
+ prefixes: ["ESLint9_nuxt_"]
63
+ },
64
+ Jest: {
65
+ prefixes: [
66
+ "ESLint9_jest_",
67
+ "ESLint9_jest-dom_",
68
+ "ESLint9_jest-extended_",
69
+ "ESLint9_jest-formatting_"
70
+ ]
71
+ },
72
+ Vitest: {
73
+ prefixes: ["ESLint9_@vitest_"]
74
+ },
75
+ Cypress: {
76
+ prefixes: ["ESLint9_cypress_"]
77
+ },
78
+ Mocha: {
79
+ prefixes: ["ESLint9_mocha_"]
80
+ },
81
+ Playwright: {
82
+ prefixes: ["ESLint9_playwright_"]
83
+ },
84
+ AVA: {
85
+ prefixes: ["ESLint9_ava_"]
86
+ },
87
+ Jasmine: {
88
+ prefixes: ["ESLint9_jasmine_"]
89
+ },
90
+ "Testing Library": {
91
+ prefixes: ["ESLint9_testing-library_"]
92
+ },
93
+ Storybook: {
94
+ prefixes: ["ESLint9_storybook_"]
95
+ },
96
+ "Tailwind CSS": {
97
+ prefixes: ["ESLint9_tailwindcss_"]
98
+ },
99
+ Lodash: {
100
+ prefixes: ["ESLint9_lodash_", "ESLint9_lodash-fp_"]
101
+ },
102
+ Redux: {
103
+ prefixes: ["ESLint9_redux-saga_"]
104
+ },
105
+ i18next: {
106
+ prefixes: ["ESLint9_i18next_"]
107
+ },
108
+ "Backbone.js": {
109
+ prefixes: ["ESLint9_backbone_"]
110
+ },
111
+ WebdriverIO: {
112
+ prefixes: ["ESLint9_wdio_"]
113
+ }
114
+ };
115
+
116
+ // src/metadata.ts
26
117
  var descriptor = {
27
118
  id: "ESLint9",
28
119
  displayName: "ESLint 9",
@@ -31,7 +122,8 @@ var descriptor = {
31
122
  filePatterns: ["**/*.js", "**/*.jsx", "**/*.mjs", "**/*.cjs", "**/*.ts", "**/*.tsx"],
32
123
  supportedOS: ["linux", "darwin", "win32"],
33
124
  supportedArch: ["x64", "arm64"],
34
- supportedRunners: ["local", "container"]
125
+ supportedRunners: ["local", "container"],
126
+ frameworkMappings: pattern_mappings_default
35
127
  };
36
128
  // Annotate the CommonJS export names for ESM import in node:
37
129
  0 && (module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-eslint-9",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "description": "ESLint 9 adapter — Library-mode JavaScript/TypeScript linter",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -79,7 +79,7 @@
79
79
  "eslint-plugin-wdio": "^9.0.0",
80
80
  "eslint-plugin-xss": "^0.1.0",
81
81
  "eslint-plugin-yml": "^1.0.0",
82
- "@codacy/tooling": "0.6.1"
82
+ "@codacy/tooling": "0.8.0"
83
83
  },
84
84
  "license": "MIT",
85
85
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",