File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,26 @@ module.exports = {
99 'plugin:dci-lint/recommended'
1010 ] ,
1111 plugins : [ '@typescript-eslint' ] ,
12- ignorePatterns : [ '*.cjs' ] ,
13- overrides : [ { files : [ '*.svelte' ] , processor : 'svelte3/svelte3' } ] ,
14- settings : {
15- 'svelte3/typescript' : ( ) => require ( 'typescript' )
16- } ,
1712 rules : {
1813 'dci-lint/literal-role-contracts' : 'off'
1914 } ,
2015 parserOptions : {
2116 sourceType : 'module' ,
22- ecmaVersion : 2020
17+ ecmaVersion : 2020 ,
18+ extraFileExtensions : [ '.svelte' ]
2319 } ,
2420 env : {
2521 browser : true ,
2622 es2017 : true ,
2723 node : true
28- }
24+ } ,
25+ overrides : [
26+ {
27+ files : [ '*.svelte' ] ,
28+ parser : 'svelte-eslint-parser' ,
29+ parserOptions : {
30+ parser : '@typescript-eslint/parser'
31+ }
32+ }
33+ ]
2934} ;
Original file line number Diff line number Diff line change 8181 name =" questions"
8282 class =" block w-full rounded-md border-0 bg-white/5 py-1.5 text-white shadow-sm ring-1 ring-inset ring-white/10 focus:ring-2 focus:ring-inset focus:ring-indigo-500 sm:text-sm sm:leading-6"
8383 />
84- {#if $errors .questions ?.[index ].text }{/if }
8584 <button
8685 type =" button"
8786 class =" m-2 h-7 w-7 cursor-pointer text-red-600"
You can’t perform that action at this time.
0 commit comments