@fabdeh/eslint-config 0.2.1 → 0.2.2

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 (2) hide show
  1. package/dist/index.mjs +7 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -252,6 +252,7 @@ async function angular(options = {}) {
252
252
  function comments() {
253
253
  return tseslint.config({
254
254
  name: "fabdeh/comments/rules",
255
+ files: [GLOB_SRC],
255
256
  plugins: {
256
257
  "@eslint-community/eslint-comments": eslintComments
257
258
  },
@@ -278,6 +279,7 @@ function imports(options = {}) {
278
279
  return tseslint.config(
279
280
  {
280
281
  name: "fabdeh/imports/rules",
282
+ files: [GLOB_SRC],
281
283
  plugins: {
282
284
  "import-x": importX
283
285
  },
@@ -345,6 +347,7 @@ function javascript(options = {}) {
345
347
  },
346
348
  {
347
349
  name: "fabdeh/javascript/rules",
350
+ files: [GLOB_SRC],
348
351
  plugins: {
349
352
  "@typescript-eslint": tseslint.plugin,
350
353
  "prefer-arrow-functions": preferArrowFunctions,
@@ -471,6 +474,7 @@ function jsdoc(options = {}) {
471
474
  return tseslint.config(
472
475
  {
473
476
  name: "fabdeh/jsdoc/rules",
477
+ files: [GLOB_SRC],
474
478
  plugins: { jsdoc: jsdocPlugin },
475
479
  rules: {
476
480
  "jsdoc/check-access": "warn",
@@ -891,6 +895,7 @@ async function perfectionist() {
891
895
  const tsconfigRootDir = await findNearestPackageJsonName() === "@fabdeh/eslint-config" ? void 0 : getWorkspaceRoot(process.cwd(), process.cwd());
892
896
  return tseslint.config({
893
897
  name: "fabdeh/perfectionist/rules",
898
+ files: [GLOB_SRC],
894
899
  plugins: {
895
900
  perfectionist: perfectionistPlugin
896
901
  },
@@ -1168,6 +1173,7 @@ async function stylistic(options = {}) {
1168
1173
  const config = stylisticPlugin.configs.customize({ ...stylisticOptions, flat: true });
1169
1174
  return tseslint.config({
1170
1175
  name: "fabdeh/stylistic/rules",
1176
+ files: [GLOB_SRC],
1171
1177
  plugins: {
1172
1178
  "@stylistic": stylisticPlugin
1173
1179
  },
@@ -1374,6 +1380,7 @@ function typescript(options = {}) {
1374
1380
  function unicorn(options = {}) {
1375
1381
  return tseslint.config({
1376
1382
  name: "fabdeh/unicorn/rules",
1383
+ files: [GLOB_SRC],
1377
1384
  plugins: { unicorn: unicornPlugin },
1378
1385
  rules: {
1379
1386
  ...options.allRecommended ? unicornPlugin.configs.recommended.rules : {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fabdeh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "packageManager": "pnpm@10.4.1",
6
6
  "description": "My personal eslint config preset",
7
7
  "author": {