@ota-meshi/eslint-plugin 0.11.2 → 0.11.3

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.
@@ -10,7 +10,7 @@ module.exports = require("../utils/module").requireOf(
10
10
  () => ({
11
11
  overrides: [
12
12
  {
13
- files: ["*.ts"],
13
+ files: ["*.ts", "*.mts", "*.cts"],
14
14
  extends: ["plugin:@typescript-eslint/recommended"],
15
15
  parser: require.resolve("@typescript-eslint/parser"),
16
16
  parserOptions: {
@@ -135,7 +135,14 @@ module.exports = require("../utils/module").requireOf(
135
135
  },
136
136
  },
137
137
  {
138
- files: ["test/**/*.ts", "tests/**/*.ts"],
138
+ files: [
139
+ "test/**/*.ts",
140
+ "tests/**/*.ts",
141
+ "test/**/*.mts",
142
+ "tests/**/*.mts",
143
+ "test/**/*.cts",
144
+ "tests/**/*.cts",
145
+ ],
139
146
  rules: {
140
147
  "@typescript-eslint/no-explicit-any": "off",
141
148
  },
@@ -143,7 +150,7 @@ module.exports = require("../utils/module").requireOf(
143
150
  ],
144
151
  }),
145
152
  {
146
- files: ["*.ts"],
153
+ files: ["*.ts", "*.mts", "*.cts"],
147
154
  fallback: () => ({
148
155
  processor: "@ota-meshi/missing-parser",
149
156
  }),
@@ -236,6 +236,10 @@ module.exports = {
236
236
  "tests/**/*.mjs",
237
237
  "test/**/*.ts",
238
238
  "tests/**/*.ts",
239
+ "test/**/*.mts",
240
+ "tests/**/*.mts",
241
+ "test/**/*.cts",
242
+ "tests/**/*.cts",
239
243
  ],
240
244
  globals: {
241
245
  after: "readonly",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ota-meshi/eslint-plugin",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "ESLint configuration plugin for me.",
5
5
  "repository": "git+https://github.com/ota-meshi/eslint-plugin.git",
6
6
  "homepage": "https://github.com/ota-meshi/eslint-plugin#readme",