File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
33import * as graphqlEslint from '@graphql-eslint/eslint-plugin' ;
44import tseslint from 'typescript-eslint' ;
5- import { GRAPHQL_FILE_PATTERN , NODE_FILE_PATTERNS } from '../lib/patterns.js' ;
5+ import { GRAPHQL_FILE_PATTERNS , NODE_FILE_PATTERNS } from '../lib/patterns.js' ;
66import node from './node.js' ;
77
88export { NAMING_CONVENTION_OPTIONS_GRAPHQL } from '../lib/rule-options.js' ;
99
1010export default tseslint . config ( ...node , {
11- files : [ GRAPHQL_FILE_PATTERN ] ,
11+ files : GRAPHQL_FILE_PATTERNS ,
1212 plugins : {
1313 '@graphql-eslint' : graphqlEslint ,
1414 } ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
1414 JS_TS_JSON_FILE_PATTERNS ,
1515 JSON_FILE_PATTERNS ,
1616 MOCKS_FILE_PATTERNS ,
17- SVELTE_FILE_PATTERN ,
17+ SVELTE_FILE_PATTERNS ,
1818 TEST_FILE_PATTERNS ,
1919 TYPESCRIPT_DECLARATION_FILE_PATTERNS ,
2020} from '../lib/patterns.js' ;
@@ -287,7 +287,7 @@ export default tseslint.config(
287287 } ,
288288 {
289289 name : 'code-pushup/javascript/svelte/disabled' ,
290- files : [ SVELTE_FILE_PATTERN ] ,
290+ files : SVELTE_FILE_PATTERNS ,
291291 rules : {
292292 'import/no-mutable-exports' : 'off' ,
293293 'functional/no-let' : 'off' ,
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const CYPRESS_FILE_PATTERNS = [
7474
7575export const NODE_FILE_PATTERNS = [ '**/*.ts' , '**/*.js' ] ;
7676
77- export const GRAPHQL_FILE_PATTERN = '**/*.graphql' ;
77+ export const GRAPHQL_FILE_PATTERNS = [ '**/*.graphql' ] ;
7878
7979export const STORYBOOK_FILE_PATTERNS = withExtensions ( [ fromSuffix ( 'stories' ) ] ) ;
8080
@@ -88,7 +88,7 @@ export const GENERATED_FILE_PATTERNS = withExtensions([
8888
8989export const COMMONJS_FILE_PATTERNS = [ '**/*.cjs' , '**/*.cts' ] ;
9090
91- export const SVELTE_FILE_PATTERN = '**/*.svelte' ;
91+ export const SVELTE_FILE_PATTERNS = [ '**/*.svelte' ] ;
9292
9393/** @param {string[] } patterns */
9494export function negatePatterns ( patterns ) {
You can’t perform that action at this time.
0 commit comments