> wiki-plugin-useraccesstokens@0.1.0 npx > create-wiki-plugin Usage: npm create wiki-plugin <new-plugin-name> e.g. npm create wiki-plugin CoolThing and write requirements in README.
		
			
				
	
	
		
			24 lines
		
	
	
		
			426 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			426 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import globals from 'globals'
 | |
| import pluginJs from '@eslint/js'
 | |
| 
 | |
| /** @type {import('eslint').Linter.Config[]} */
 | |
| export default [
 | |
|   pluginJs.configs.recommended,
 | |
|   {
 | |
|     rules: {
 | |
|       'no-unused-vars': 'warn',
 | |
|     },
 | |
|   },
 | |
|   { ignores: ['client/*'] },
 | |
|   {
 | |
|     languageOptions: {
 | |
|       globals: {
 | |
|         wiki: 'readonly',
 | |
|         ...globals.browser,
 | |
|         ...globals.jquery,
 | |
|         ...globals.mocha,
 | |
|       },
 | |
|     },
 | |
|   },
 | |
| ]
 |