@saasmakers/eslint 0.1.4 → 0.1.6

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.
@@ -1,14 +1,18 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  const antfu = require('@antfu/eslint-config');
4
6
  const saasmakers = require('@saasmakers/eslint');
5
7
  const packageJson = require('eslint-plugin-package-json');
8
+ const storybook = require('eslint-plugin-storybook');
6
9
 
7
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
11
 
9
12
  const antfu__default = /*#__PURE__*/_interopDefaultCompat(antfu);
10
13
  const saasmakers__default = /*#__PURE__*/_interopDefaultCompat(saasmakers);
11
14
  const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
15
+ const storybook__default = /*#__PURE__*/_interopDefaultCompat(storybook);
12
16
 
13
17
  const eslint_config = antfu__default(
14
18
  {
@@ -40,7 +44,8 @@ const eslint_config = antfu__default(
40
44
  },
41
45
  plugins: {
42
46
  "package-json": packageJson__default,
43
- saasmakers: saasmakers__default
47
+ saasmakers: saasmakers__default,
48
+ storybook: storybook__default
44
49
  },
45
50
  rules: {
46
51
  "array-bracket-newline": [
@@ -196,6 +201,14 @@ const eslint_config = antfu__default(
196
201
  "saasmakers/vue-i18n-consistent-t": "error",
197
202
  "saasmakers/vue-i18n-sort-keys": "error",
198
203
  "saasmakers/vue-i18n-unused-strings": "error",
204
+ "saasmakers/vue-script-format-computed": "error",
205
+ "saasmakers/vue-script-format-emits": "error",
206
+ "saasmakers/vue-script-format-props": "error",
207
+ "saasmakers/vue-script-order": "error",
208
+ "saasmakers/vue-template-format-classes": "error",
209
+ "saasmakers/vue-template-format-props": "error",
210
+ "saasmakers/vue-template-remove-comments": "error",
211
+ "saasmakers/vue-template-remove-true-attributes": "error",
199
212
  "sort-imports": "off",
200
213
  "ts/ban-ts-comment": "off",
201
214
  "ts/ban-ts-ignore": "off",
@@ -276,4 +289,4 @@ const eslint_config = antfu__default(
276
289
  }
277
290
  );
278
291
 
279
- module.exports = eslint_config;
292
+ exports.default = eslint_config;
@@ -1,6 +1,7 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import packageJson from 'eslint-plugin-package-json';
4
+ import storybook from 'eslint-plugin-storybook';
4
5
 
5
6
  var eslint_config = antfu(
6
7
  {
@@ -32,7 +33,8 @@ var eslint_config = antfu(
32
33
  },
33
34
  plugins: {
34
35
  "package-json": packageJson,
35
- saasmakers
36
+ saasmakers,
37
+ storybook
36
38
  },
37
39
  rules: {
38
40
  "array-bracket-newline": [
@@ -188,6 +190,14 @@ var eslint_config = antfu(
188
190
  "saasmakers/vue-i18n-consistent-t": "error",
189
191
  "saasmakers/vue-i18n-sort-keys": "error",
190
192
  "saasmakers/vue-i18n-unused-strings": "error",
193
+ "saasmakers/vue-script-format-computed": "error",
194
+ "saasmakers/vue-script-format-emits": "error",
195
+ "saasmakers/vue-script-format-props": "error",
196
+ "saasmakers/vue-script-order": "error",
197
+ "saasmakers/vue-template-format-classes": "error",
198
+ "saasmakers/vue-template-format-props": "error",
199
+ "saasmakers/vue-template-remove-comments": "error",
200
+ "saasmakers/vue-template-remove-true-attributes": "error",
191
201
  "sort-imports": "off",
192
202
  "ts/ban-ts-comment": "off",
193
203
  "ts/ban-ts-ignore": "off",
@@ -1,6 +1,7 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import packageJson from 'eslint-plugin-package-json';
4
+ import storybook from 'eslint-plugin-storybook';
4
5
 
5
6
  var eslint_config = antfu(
6
7
  {
@@ -32,7 +33,8 @@ var eslint_config = antfu(
32
33
  },
33
34
  plugins: {
34
35
  "package-json": packageJson,
35
- saasmakers
36
+ saasmakers,
37
+ storybook
36
38
  },
37
39
  rules: {
38
40
  "array-bracket-newline": [
@@ -188,6 +190,14 @@ var eslint_config = antfu(
188
190
  "saasmakers/vue-i18n-consistent-t": "error",
189
191
  "saasmakers/vue-i18n-sort-keys": "error",
190
192
  "saasmakers/vue-i18n-unused-strings": "error",
193
+ "saasmakers/vue-script-format-computed": "error",
194
+ "saasmakers/vue-script-format-emits": "error",
195
+ "saasmakers/vue-script-format-props": "error",
196
+ "saasmakers/vue-script-order": "error",
197
+ "saasmakers/vue-template-format-classes": "error",
198
+ "saasmakers/vue-template-format-props": "error",
199
+ "saasmakers/vue-template-remove-comments": "error",
200
+ "saasmakers/vue-template-remove-true-attributes": "error",
191
201
  "sort-imports": "off",
192
202
  "ts/ban-ts-comment": "off",
193
203
  "ts/ban-ts-ignore": "off",
@@ -1,6 +1,7 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import packageJson from 'eslint-plugin-package-json';
4
+ import storybook from 'eslint-plugin-storybook';
4
5
 
5
6
  var eslint_config = antfu(
6
7
  {
@@ -32,7 +33,8 @@ var eslint_config = antfu(
32
33
  },
33
34
  plugins: {
34
35
  "package-json": packageJson,
35
- saasmakers
36
+ saasmakers,
37
+ storybook
36
38
  },
37
39
  rules: {
38
40
  "array-bracket-newline": [
@@ -188,6 +190,14 @@ var eslint_config = antfu(
188
190
  "saasmakers/vue-i18n-consistent-t": "error",
189
191
  "saasmakers/vue-i18n-sort-keys": "error",
190
192
  "saasmakers/vue-i18n-unused-strings": "error",
193
+ "saasmakers/vue-script-format-computed": "error",
194
+ "saasmakers/vue-script-format-emits": "error",
195
+ "saasmakers/vue-script-format-props": "error",
196
+ "saasmakers/vue-script-order": "error",
197
+ "saasmakers/vue-template-format-classes": "error",
198
+ "saasmakers/vue-template-format-props": "error",
199
+ "saasmakers/vue-template-remove-comments": "error",
200
+ "saasmakers/vue-template-remove-true-attributes": "error",
191
201
  "sort-imports": "off",
192
202
  "ts/ban-ts-comment": "off",
193
203
  "ts/ban-ts-ignore": "off",
@@ -1,6 +1,7 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import packageJson from 'eslint-plugin-package-json';
4
+ import storybook from 'eslint-plugin-storybook';
4
5
 
5
6
  const eslint_config = antfu(
6
7
  {
@@ -32,7 +33,8 @@ const eslint_config = antfu(
32
33
  },
33
34
  plugins: {
34
35
  "package-json": packageJson,
35
- saasmakers
36
+ saasmakers,
37
+ storybook
36
38
  },
37
39
  rules: {
38
40
  "array-bracket-newline": [
@@ -188,6 +190,14 @@ const eslint_config = antfu(
188
190
  "saasmakers/vue-i18n-consistent-t": "error",
189
191
  "saasmakers/vue-i18n-sort-keys": "error",
190
192
  "saasmakers/vue-i18n-unused-strings": "error",
193
+ "saasmakers/vue-script-format-computed": "error",
194
+ "saasmakers/vue-script-format-emits": "error",
195
+ "saasmakers/vue-script-format-props": "error",
196
+ "saasmakers/vue-script-order": "error",
197
+ "saasmakers/vue-template-format-classes": "error",
198
+ "saasmakers/vue-template-format-props": "error",
199
+ "saasmakers/vue-template-remove-comments": "error",
200
+ "saasmakers/vue-template-remove-true-attributes": "error",
191
201
  "sort-imports": "off",
192
202
  "ts/ban-ts-comment": "off",
193
203
  "ts/ban-ts-ignore": "off",