@saasmakers/eslint 0.1.30 → 0.1.31
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.
- package/dist/eslint.config.cjs +15 -0
- package/dist/eslint.config.mjs +14 -0
- package/package.json +2 -2
package/dist/eslint.config.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const pluginJs = require('@eslint/js');
|
|
6
|
+
const nuxt = require('@nuxt/eslint-plugin');
|
|
6
7
|
const stylistic = require('@stylistic/eslint-plugin');
|
|
7
8
|
const unocss = require('@unocss/eslint-config/flat');
|
|
8
9
|
const eslintMergeProcessors = require('eslint-merge-processors');
|
|
@@ -34,6 +35,7 @@ require('@typescript-eslint/utils');
|
|
|
34
35
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
35
36
|
|
|
36
37
|
const pluginJs__default = /*#__PURE__*/_interopDefaultCompat(pluginJs);
|
|
38
|
+
const nuxt__default = /*#__PURE__*/_interopDefaultCompat(nuxt);
|
|
37
39
|
const stylistic__default = /*#__PURE__*/_interopDefaultCompat(stylistic);
|
|
38
40
|
const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
|
|
39
41
|
const nodeEslint__default = /*#__PURE__*/_interopDefaultCompat(nodeEslint);
|
|
@@ -22633,6 +22635,19 @@ const config = [
|
|
|
22633
22635
|
"n/no-unsupported-features/node-builtins": "off",
|
|
22634
22636
|
"vue/multi-word-component-names": "off"
|
|
22635
22637
|
}
|
|
22638
|
+
},
|
|
22639
|
+
// Nuxt
|
|
22640
|
+
{
|
|
22641
|
+
files: [
|
|
22642
|
+
"apps/web/**/*.{ts,vue}",
|
|
22643
|
+
"packages/ui/**/*.{ts,vue}"
|
|
22644
|
+
],
|
|
22645
|
+
plugins: {
|
|
22646
|
+
nuxt: nuxt__default
|
|
22647
|
+
},
|
|
22648
|
+
rules: {
|
|
22649
|
+
...nuxt__default.configs?.recommended?.rules
|
|
22650
|
+
}
|
|
22636
22651
|
}
|
|
22637
22652
|
];
|
|
22638
22653
|
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import pluginJs from '@eslint/js';
|
|
2
|
+
import nuxt from '@nuxt/eslint-plugin';
|
|
2
3
|
import stylistic from '@stylistic/eslint-plugin';
|
|
3
4
|
import unocss from '@unocss/eslint-config/flat';
|
|
4
5
|
import { mergeProcessors } from 'eslint-merge-processors';
|
|
@@ -22602,6 +22603,19 @@ const config = [
|
|
|
22602
22603
|
"n/no-unsupported-features/node-builtins": "off",
|
|
22603
22604
|
"vue/multi-word-component-names": "off"
|
|
22604
22605
|
}
|
|
22606
|
+
},
|
|
22607
|
+
// Nuxt
|
|
22608
|
+
{
|
|
22609
|
+
files: [
|
|
22610
|
+
"apps/web/**/*.{ts,vue}",
|
|
22611
|
+
"packages/ui/**/*.{ts,vue}"
|
|
22612
|
+
],
|
|
22613
|
+
plugins: {
|
|
22614
|
+
nuxt
|
|
22615
|
+
},
|
|
22616
|
+
rules: {
|
|
22617
|
+
...nuxt.configs?.recommended?.rules
|
|
22618
|
+
}
|
|
22605
22619
|
}
|
|
22606
22620
|
];
|
|
22607
22621
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/eslint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared ESLint config and rules for SaaS Makers projects",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@eslint/js": "9.39.2",
|
|
35
|
-
"@nuxt/eslint-
|
|
35
|
+
"@nuxt/eslint-plugin": "1.12.1",
|
|
36
36
|
"@stylistic/eslint-plugin": "5.6.1",
|
|
37
37
|
"@typescript-eslint/utils": "8.51.0",
|
|
38
38
|
"@unocss/eslint-config": "66.5.12",
|