@adobe/remark-gridtables 3.0.4 → 3.0.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.
@@ -0,0 +1,534 @@
1
+ export default {
2
+ rules: {
3
+ // enforce line breaks after opening and before closing array brackets
4
+ // https://eslint.org/docs/rules/array-bracket-newline
5
+ // TODO: enable? semver-major
6
+ 'array-bracket-newline': ['off', 'consistent'], // object option alternative: { multiline: true, minItems: 3 }
7
+
8
+ // enforce line breaks between array elements
9
+ // https://eslint.org/docs/rules/array-element-newline
10
+ // TODO: enable? semver-major
11
+ 'array-element-newline': ['off', { multiline: true, minItems: 3 }],
12
+
13
+ // enforce spacing inside array brackets
14
+ 'array-bracket-spacing': ['error', 'never'],
15
+
16
+ // enforce spacing inside single-line blocks
17
+ // https://eslint.org/docs/rules/block-spacing
18
+ 'block-spacing': ['error', 'always'],
19
+
20
+ // enforce one true brace style
21
+ 'brace-style': ['error', '1tbs', { allowSingleLine: true }],
22
+
23
+ // require camel case names
24
+ camelcase: ['error', { properties: 'never', ignoreDestructuring: false }],
25
+
26
+ // enforce or disallow capitalization of the first letter of a comment
27
+ // https://eslint.org/docs/rules/capitalized-comments
28
+ 'capitalized-comments': ['off', 'never', {
29
+ line: {
30
+ ignorePattern: '.*',
31
+ ignoreInlineComments: true,
32
+ ignoreConsecutiveComments: true,
33
+ },
34
+ block: {
35
+ ignorePattern: '.*',
36
+ ignoreInlineComments: true,
37
+ ignoreConsecutiveComments: true,
38
+ },
39
+ }],
40
+
41
+ // require trailing commas in multiline object literals
42
+ 'comma-dangle': ['error', {
43
+ arrays: 'always-multiline',
44
+ objects: 'always-multiline',
45
+ imports: 'always-multiline',
46
+ exports: 'always-multiline',
47
+ functions: 'always-multiline',
48
+ }],
49
+
50
+ // enforce spacing before and after comma
51
+ 'comma-spacing': ['error', { before: false, after: true }],
52
+
53
+ // enforce one true comma style
54
+ 'comma-style': ['error', 'last', {
55
+ exceptions: {
56
+ ArrayExpression: false,
57
+ ArrayPattern: false,
58
+ ArrowFunctionExpression: false,
59
+ CallExpression: false,
60
+ FunctionDeclaration: false,
61
+ FunctionExpression: false,
62
+ ImportDeclaration: false,
63
+ ObjectExpression: false,
64
+ ObjectPattern: false,
65
+ VariableDeclaration: false,
66
+ NewExpression: false,
67
+ }
68
+ }],
69
+
70
+ // disallow padding inside computed properties
71
+ 'computed-property-spacing': ['error', 'never'],
72
+
73
+ // enforces consistent naming when capturing the current execution context
74
+ 'consistent-this': 'off',
75
+
76
+ // enforce newline at the end of file, with no multiple empty lines
77
+ 'eol-last': ['error', 'always'],
78
+
79
+ // https://eslint.org/docs/rules/function-call-argument-newline
80
+ 'function-call-argument-newline': ['error', 'consistent'],
81
+
82
+ // enforce spacing between functions and their invocations
83
+ // https://eslint.org/docs/rules/func-call-spacing
84
+ 'func-call-spacing': ['error', 'never'],
85
+
86
+ // requires function names to match the name of the variable or property to which they are
87
+ // assigned
88
+ // https://eslint.org/docs/rules/func-name-matching
89
+ 'func-name-matching': ['off', 'always', {
90
+ includeCommonJSModuleExports: false,
91
+ considerPropertyDescriptor: true,
92
+ }],
93
+
94
+ // require function expressions to have a name
95
+ // https://eslint.org/docs/rules/func-names
96
+ 'func-names': 'warn',
97
+
98
+ // enforces use of function declarations or expressions
99
+ // https://eslint.org/docs/rules/func-style
100
+ // TODO: enable
101
+ 'func-style': ['off', 'expression'],
102
+
103
+ // require line breaks inside function parentheses if there are line breaks between parameters
104
+ // https://eslint.org/docs/rules/function-paren-newline
105
+ 'function-paren-newline': ['error', 'multiline-arguments'],
106
+
107
+ // disallow specified identifiers
108
+ // https://eslint.org/docs/rules/id-denylist
109
+ 'id-denylist': 'off',
110
+
111
+ // this option enforces minimum and maximum identifier lengths
112
+ // (variable names, property names etc.)
113
+ 'id-length': 'off',
114
+
115
+ // require identifiers to match the provided regular expression
116
+ 'id-match': 'off',
117
+
118
+ // Enforce the location of arrow function bodies with implicit returns
119
+ // https://eslint.org/docs/rules/implicit-arrow-linebreak
120
+ 'implicit-arrow-linebreak': ['error', 'beside'],
121
+
122
+ // this option sets a specific tab width for your code
123
+ // https://eslint.org/docs/rules/indent
124
+ indent: ['error', 2, {
125
+ SwitchCase: 1,
126
+ VariableDeclarator: 1,
127
+ outerIIFEBody: 1,
128
+ // MemberExpression: null,
129
+ FunctionDeclaration: {
130
+ parameters: 1,
131
+ body: 1
132
+ },
133
+ FunctionExpression: {
134
+ parameters: 1,
135
+ body: 1
136
+ },
137
+ CallExpression: {
138
+ arguments: 1
139
+ },
140
+ ArrayExpression: 1,
141
+ ObjectExpression: 1,
142
+ ImportDeclaration: 1,
143
+ flatTernaryExpressions: false,
144
+ // list derived from https://github.com/benjamn/ast-types/blob/HEAD/def/jsx.js
145
+ ignoredNodes: ['JSXElement', 'JSXElement > *', 'JSXAttribute', 'JSXIdentifier', 'JSXNamespacedName', 'JSXMemberExpression', 'JSXSpreadAttribute', 'JSXExpressionContainer', 'JSXOpeningElement', 'JSXClosingElement', 'JSXFragment', 'JSXOpeningFragment', 'JSXClosingFragment', 'JSXText', 'JSXEmptyExpression', 'JSXSpreadChild'],
146
+ ignoreComments: false
147
+ }],
148
+
149
+ // specify whether double or single quotes should be used in JSX attributes
150
+ // https://eslint.org/docs/rules/jsx-quotes
151
+ 'jsx-quotes': ['off', 'prefer-double'],
152
+
153
+ // enforces spacing between keys and values in object literal properties
154
+ 'key-spacing': ['error', { beforeColon: false, afterColon: true }],
155
+
156
+ // require a space before & after certain keywords
157
+ 'keyword-spacing': ['error', {
158
+ before: true,
159
+ after: true,
160
+ overrides: {
161
+ return: { after: true },
162
+ throw: { after: true },
163
+ case: { after: true }
164
+ }
165
+ }],
166
+
167
+ // enforce position of line comments
168
+ // https://eslint.org/docs/rules/line-comment-position
169
+ // TODO: enable?
170
+ 'line-comment-position': ['off', {
171
+ position: 'above',
172
+ ignorePattern: '',
173
+ applyDefaultPatterns: true,
174
+ }],
175
+
176
+ // disallow mixed 'LF' and 'CRLF' as linebreaks
177
+ // https://eslint.org/docs/rules/linebreak-style
178
+ 'linebreak-style': ['error', 'unix'],
179
+
180
+ // require or disallow an empty line between class members
181
+ // https://eslint.org/docs/rules/lines-between-class-members
182
+ 'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: false }],
183
+
184
+ // enforces empty lines around comments
185
+ 'lines-around-comment': 'off',
186
+
187
+ // require or disallow newlines around directives
188
+ // https://eslint.org/docs/rules/lines-around-directive
189
+ 'lines-around-directive': ['error', {
190
+ before: 'always',
191
+ after: 'always',
192
+ }],
193
+
194
+ // Require or disallow logical assignment logical operator shorthand
195
+ // https://eslint.org/docs/latest/rules/logical-assignment-operators
196
+ // TODO, semver-major: enable
197
+ 'logical-assignment-operators': ['off', 'always', {
198
+ enforceForIfStatements: true,
199
+ }],
200
+
201
+ // specify the maximum depth that blocks can be nested
202
+ 'max-depth': ['off', 4],
203
+
204
+ // specify the maximum length of a line in your program
205
+ // https://eslint.org/docs/rules/max-len
206
+ 'max-len': ['error', 100, 2, {
207
+ ignoreUrls: true,
208
+ ignoreComments: false,
209
+ ignoreRegExpLiterals: true,
210
+ ignoreStrings: true,
211
+ ignoreTemplateLiterals: true,
212
+ }],
213
+
214
+ // specify the max number of lines in a file
215
+ // https://eslint.org/docs/rules/max-lines
216
+ 'max-lines': ['off', {
217
+ max: 300,
218
+ skipBlankLines: true,
219
+ skipComments: true
220
+ }],
221
+
222
+ // enforce a maximum function length
223
+ // https://eslint.org/docs/rules/max-lines-per-function
224
+ 'max-lines-per-function': ['off', {
225
+ max: 50,
226
+ skipBlankLines: true,
227
+ skipComments: true,
228
+ IIFEs: true,
229
+ }],
230
+
231
+ // specify the maximum depth callbacks can be nested
232
+ 'max-nested-callbacks': 'off',
233
+
234
+ // limits the number of parameters that can be used in the function declaration.
235
+ 'max-params': ['off', 3],
236
+
237
+ // specify the maximum number of statement allowed in a function
238
+ 'max-statements': ['off', 10],
239
+
240
+ // restrict the number of statements per line
241
+ // https://eslint.org/docs/rules/max-statements-per-line
242
+ 'max-statements-per-line': ['off', { max: 1 }],
243
+
244
+ // enforce a particular style for multiline comments
245
+ // https://eslint.org/docs/rules/multiline-comment-style
246
+ 'multiline-comment-style': ['off', 'starred-block'],
247
+
248
+ // require multiline ternary
249
+ // https://eslint.org/docs/rules/multiline-ternary
250
+ // TODO: enable?
251
+ 'multiline-ternary': ['off', 'never'],
252
+
253
+ // require a capital letter for constructors
254
+ 'new-cap': ['error', {
255
+ newIsCap: true,
256
+ newIsCapExceptions: [],
257
+ capIsNew: false,
258
+ capIsNewExceptions: ['Immutable.Map', 'Immutable.Set', 'Immutable.List'],
259
+ }],
260
+
261
+ // disallow the omission of parentheses when invoking a constructor with no arguments
262
+ // https://eslint.org/docs/rules/new-parens
263
+ 'new-parens': 'error',
264
+
265
+ // allow/disallow an empty newline after var statement
266
+ 'newline-after-var': 'off',
267
+
268
+ // https://eslint.org/docs/rules/newline-before-return
269
+ 'newline-before-return': 'off',
270
+
271
+ // enforces new line after each method call in the chain to make it
272
+ // more readable and easy to maintain
273
+ // https://eslint.org/docs/rules/newline-per-chained-call
274
+ 'newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }],
275
+
276
+ // disallow use of the Array constructor
277
+ 'no-array-constructor': 'error',
278
+
279
+ // disallow use of bitwise operators
280
+ // https://eslint.org/docs/rules/no-bitwise
281
+ 'no-bitwise': 'error',
282
+
283
+ // disallow use of the continue statement
284
+ // https://eslint.org/docs/rules/no-continue
285
+ 'no-continue': 'error',
286
+
287
+ // disallow comments inline after code
288
+ 'no-inline-comments': 'off',
289
+
290
+ // disallow if as the only statement in an else block
291
+ // https://eslint.org/docs/rules/no-lonely-if
292
+ 'no-lonely-if': 'error',
293
+
294
+ // disallow un-paren'd mixes of different operators
295
+ // https://eslint.org/docs/rules/no-mixed-operators
296
+ 'no-mixed-operators': ['error', {
297
+ // the list of arithmetic groups disallows mixing `%` and `**`
298
+ // with other arithmetic operators.
299
+ groups: [
300
+ ['%', '**'],
301
+ ['%', '+'],
302
+ ['%', '-'],
303
+ ['%', '*'],
304
+ ['%', '/'],
305
+ ['/', '*'],
306
+ ['&', '|', '<<', '>>', '>>>'],
307
+ ['==', '!=', '===', '!=='],
308
+ ['&&', '||'],
309
+ ],
310
+ allowSamePrecedence: false
311
+ }],
312
+
313
+ // disallow mixed spaces and tabs for indentation
314
+ 'no-mixed-spaces-and-tabs': 'error',
315
+
316
+ // disallow use of chained assignment expressions
317
+ // https://eslint.org/docs/rules/no-multi-assign
318
+ 'no-multi-assign': ['error'],
319
+
320
+ // disallow multiple empty lines, only one newline at the end, and no new lines at the beginning
321
+ // https://eslint.org/docs/rules/no-multiple-empty-lines
322
+ 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
323
+
324
+ // disallow negated conditions
325
+ // https://eslint.org/docs/rules/no-negated-condition
326
+ 'no-negated-condition': 'off',
327
+
328
+ // disallow nested ternary expressions
329
+ 'no-nested-ternary': 'error',
330
+
331
+ // disallow use of the Object constructor
332
+ 'no-new-object': 'error',
333
+
334
+ // disallow use of unary operators, ++ and --
335
+ // https://eslint.org/docs/rules/no-plusplus
336
+ 'no-plusplus': 'error',
337
+
338
+ // disallow certain syntax forms
339
+ // https://eslint.org/docs/rules/no-restricted-syntax
340
+ 'no-restricted-syntax': [
341
+ 'error',
342
+ {
343
+ selector: 'ForInStatement',
344
+ message: 'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.',
345
+ },
346
+ {
347
+ selector: 'ForOfStatement',
348
+ message: 'iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.',
349
+ },
350
+ {
351
+ selector: 'LabeledStatement',
352
+ message: 'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
353
+ },
354
+ {
355
+ selector: 'WithStatement',
356
+ message: '`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
357
+ },
358
+ ],
359
+
360
+ // disallow space between function identifier and application
361
+ // deprecated in favor of func-call-spacing
362
+ 'no-spaced-func': 'off',
363
+
364
+ // disallow tab characters entirely
365
+ 'no-tabs': 'error',
366
+
367
+ // disallow the use of ternary operators
368
+ 'no-ternary': 'off',
369
+
370
+ // disallow trailing whitespace at the end of lines
371
+ 'no-trailing-spaces': ['error', {
372
+ skipBlankLines: false,
373
+ ignoreComments: false,
374
+ }],
375
+
376
+ // disallow dangling underscores in identifiers
377
+ // https://eslint.org/docs/rules/no-underscore-dangle
378
+ 'no-underscore-dangle': ['error', {
379
+ allow: [],
380
+ allowAfterThis: false,
381
+ allowAfterSuper: false,
382
+ enforceInMethodNames: true,
383
+ }],
384
+
385
+ // disallow the use of Boolean literals in conditional expressions
386
+ // also, prefer `a || b` over `a ? a : b`
387
+ // https://eslint.org/docs/rules/no-unneeded-ternary
388
+ 'no-unneeded-ternary': ['error', { defaultAssignment: false }],
389
+
390
+ // disallow whitespace before properties
391
+ // https://eslint.org/docs/rules/no-whitespace-before-property
392
+ 'no-whitespace-before-property': 'error',
393
+
394
+ // enforce the location of single-line statements
395
+ // https://eslint.org/docs/rules/nonblock-statement-body-position
396
+ 'nonblock-statement-body-position': ['error', 'beside', { overrides: {} }],
397
+
398
+ // require padding inside curly braces
399
+ 'object-curly-spacing': ['error', 'always'],
400
+
401
+ // enforce line breaks between braces
402
+ // https://eslint.org/docs/rules/object-curly-newline
403
+ 'object-curly-newline': ['error', {
404
+ ObjectExpression: { minProperties: 4, multiline: true, consistent: true },
405
+ ObjectPattern: { minProperties: 4, multiline: true, consistent: true },
406
+ ImportDeclaration: { minProperties: 4, multiline: true, consistent: true },
407
+ ExportDeclaration: { minProperties: 4, multiline: true, consistent: true },
408
+ }],
409
+
410
+ // enforce "same line" or "multiple line" on object properties.
411
+ // https://eslint.org/docs/rules/object-property-newline
412
+ 'object-property-newline': ['error', {
413
+ allowAllPropertiesOnSameLine: true,
414
+ }],
415
+
416
+ // allow just one var statement per function
417
+ 'one-var': ['error', 'never'],
418
+
419
+ // require a newline around variable declaration
420
+ // https://eslint.org/docs/rules/one-var-declaration-per-line
421
+ 'one-var-declaration-per-line': ['error', 'always'],
422
+
423
+ // require assignment operator shorthand where possible or prohibit it entirely
424
+ // https://eslint.org/docs/rules/operator-assignment
425
+ 'operator-assignment': ['error', 'always'],
426
+
427
+ // Requires operator at the beginning of the line in multiline statements
428
+ // https://eslint.org/docs/rules/operator-linebreak
429
+ 'operator-linebreak': ['error', 'before', { overrides: { '=': 'none' } }],
430
+
431
+ // disallow padding within blocks
432
+ 'padded-blocks': ['error', {
433
+ blocks: 'never',
434
+ classes: 'never',
435
+ switches: 'never',
436
+ }, {
437
+ allowSingleLineBlocks: true,
438
+ }],
439
+
440
+ // Require or disallow padding lines between statements
441
+ // https://eslint.org/docs/rules/padding-line-between-statements
442
+ 'padding-line-between-statements': 'off',
443
+
444
+ // Disallow the use of Math.pow in favor of the ** operator
445
+ // https://eslint.org/docs/rules/prefer-exponentiation-operator
446
+ 'prefer-exponentiation-operator': 'error',
447
+
448
+ // Prefer use of an object spread over Object.assign
449
+ // https://eslint.org/docs/rules/prefer-object-spread
450
+ 'prefer-object-spread': 'error',
451
+
452
+ // require quotes around object literal property names
453
+ // https://eslint.org/docs/rules/quote-props.html
454
+ 'quote-props': ['error', 'as-needed', { keywords: false, unnecessary: true, numbers: false }],
455
+
456
+ // specify whether double or single quotes should be used
457
+ quotes: ['error', 'single', { avoidEscape: true }],
458
+
459
+ // do not require jsdoc
460
+ // https://eslint.org/docs/rules/require-jsdoc
461
+ 'require-jsdoc': 'off',
462
+
463
+ // require or disallow use of semicolons instead of ASI
464
+ semi: ['error', 'always'],
465
+
466
+ // enforce spacing before and after semicolons
467
+ 'semi-spacing': ['error', { before: false, after: true }],
468
+
469
+ // Enforce location of semicolons
470
+ // https://eslint.org/docs/rules/semi-style
471
+ 'semi-style': ['error', 'last'],
472
+
473
+ // requires object keys to be sorted
474
+ 'sort-keys': ['off', 'asc', { caseSensitive: false, natural: true }],
475
+
476
+ // sort variables within the same declaration block
477
+ 'sort-vars': 'off',
478
+
479
+ // require or disallow space before blocks
480
+ 'space-before-blocks': 'error',
481
+
482
+ // require or disallow space before function opening parenthesis
483
+ // https://eslint.org/docs/rules/space-before-function-paren
484
+ 'space-before-function-paren': ['error', {
485
+ anonymous: 'always',
486
+ named: 'never',
487
+ asyncArrow: 'always'
488
+ }],
489
+
490
+ // require or disallow spaces inside parentheses
491
+ 'space-in-parens': ['error', 'never'],
492
+
493
+ // require spaces around operators
494
+ 'space-infix-ops': 'error',
495
+
496
+ // Require or disallow spaces before/after unary operators
497
+ // https://eslint.org/docs/rules/space-unary-ops
498
+ 'space-unary-ops': ['error', {
499
+ words: true,
500
+ nonwords: false,
501
+ overrides: {
502
+ },
503
+ }],
504
+
505
+ // require or disallow a space immediately following the // or /* in a comment
506
+ // https://eslint.org/docs/rules/spaced-comment
507
+ 'spaced-comment': ['error', 'always', {
508
+ line: {
509
+ exceptions: ['-', '+'],
510
+ markers: ['=', '!', '/'], // space here to support sprockets directives, slash for TS /// comments
511
+ },
512
+ block: {
513
+ exceptions: ['-', '+'],
514
+ markers: ['=', '!', ':', '::'], // space here to support sprockets directives and flow comment types
515
+ balanced: true,
516
+ }
517
+ }],
518
+
519
+ // Enforce spacing around colons of switch statements
520
+ // https://eslint.org/docs/rules/switch-colon-spacing
521
+ 'switch-colon-spacing': ['error', { after: true, before: false }],
522
+
523
+ // Require or disallow spacing between template tags and their literals
524
+ // https://eslint.org/docs/rules/template-tag-spacing
525
+ 'template-tag-spacing': ['error', 'never'],
526
+
527
+ // require or disallow the Unicode Byte Order Mark
528
+ // https://eslint.org/docs/rules/unicode-bom
529
+ 'unicode-bom': ['error', 'never'],
530
+
531
+ // require regex literals to be wrapped in parentheses
532
+ 'wrap-regex': 'off'
533
+ }
534
+ };
@@ -0,0 +1,57 @@
1
+ export default {
2
+ rules: {
3
+ // enforce or disallow variable initializations at definition
4
+ 'init-declarations': 'off',
5
+
6
+ // disallow the catch clause parameter name being the same as a variable in the outer scope
7
+ 'no-catch-shadow': 'off',
8
+
9
+ // disallow deletion of variables
10
+ 'no-delete-var': 'error',
11
+
12
+ // disallow labels that share a name with a variable
13
+ // https://eslint.org/docs/rules/no-label-var
14
+ 'no-label-var': 'error',
15
+
16
+ // disallow specific globals
17
+ 'no-restricted-globals': [
18
+ 'error',
19
+ {
20
+ name: 'isFinite',
21
+ message:
22
+ 'Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite',
23
+ },
24
+ {
25
+ name: 'isNaN',
26
+ message:
27
+ 'Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan',
28
+ },
29
+ ], /*.concat(confusingBrowserGlobals.map((g) => ({
30
+ name: g,
31
+ message: `Use window.${g} instead. https://github.com/facebook/create-react-app/blob/HEAD/packages/confusing-browser-globals/README.md`,
32
+ }))), */
33
+
34
+ // disallow declaration of variables already declared in the outer scope
35
+ 'no-shadow': 'error',
36
+
37
+ // disallow shadowing of names such as arguments
38
+ 'no-shadow-restricted-names': 'error',
39
+
40
+ // disallow use of undeclared variables unless mentioned in a /*global */ block
41
+ 'no-undef': 'error',
42
+
43
+ // disallow use of undefined when initializing variables
44
+ 'no-undef-init': 'error',
45
+
46
+ // disallow use of undefined variable
47
+ // https://eslint.org/docs/rules/no-undefined
48
+ // TODO: enable?
49
+ 'no-undefined': 'off',
50
+
51
+ // disallow declaration of variables that are not used in the code
52
+ 'no-unused-vars': ['error', { vars: 'all', args: 'after-used', ignoreRestSiblings: true }],
53
+
54
+ // disallow use of variables before they are defined
55
+ 'no-use-before-define': ['error', { functions: true, classes: true, variables: true }],
56
+ },
57
+ };
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright 2019 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import config from './eslint/index.js';
13
+
14
+ export default [
15
+ ...config,
16
+ {
17
+ ignores: [
18
+ '.vscode/**',
19
+ 'coverage/**',
20
+ ],
21
+ },
22
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/remark-gridtables",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "Remark Gridtables",
5
5
  "keywords": [
6
6
  "remark",
@@ -33,21 +33,19 @@
33
33
  "reporter-options": "configFile=.mocha-multi.json"
34
34
  },
35
35
  "dependencies": {
36
- "@adobe/mdast-util-gridtables": "4.0.4",
36
+ "@adobe/mdast-util-gridtables": "4.0.6",
37
37
  "@adobe/micromark-extension-gridtables": "2.0.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@semantic-release/changelog": "6.0.3",
41
41
  "@semantic-release/git": "10.0.1",
42
- "@semantic-release/npm": "12.0.0",
42
+ "@semantic-release/npm": "12.0.1",
43
+ "@stylistic/eslint-plugin-js": "2.1.0",
43
44
  "c8": "9.1.0",
44
- "eslint": "8.57.0",
45
- "eslint-config-airbnb-base": "15.0.0",
46
- "eslint-plugin-header": "3.1.1",
47
- "eslint-plugin-import": "2.29.1",
45
+ "eslint": "9.4.0",
48
46
  "husky": "9.0.11",
49
47
  "junit-report-builder": "3.2.1",
50
- "lint-staged": "15.2.2",
48
+ "lint-staged": "15.2.5",
51
49
  "mdast-builder": "1.1.1",
52
50
  "mocha": "10.4.0",
53
51
  "mocha-multi-reporters": "1.5.1",
@@ -57,7 +55,7 @@
57
55
  "remark-parse": "11.0.0",
58
56
  "remark-rehype": "11.1.0",
59
57
  "remark-stringify": "11.0.0",
60
- "semantic-release": "23.0.6",
58
+ "semantic-release": "24.0.0",
61
59
  "unified": "11.0.4",
62
60
  "unist-util-visit": "5.0.0"
63
61
  },