automatically fix some of the problems reported by eslint rules::
    $ ./manage nvm.bash
    nvm-env$ npm --prefix searx/static/themes/simple run eslint-fix
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			318 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			318 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * SPDX-License-Identifier: AGPL-3.0-or-later
 | 
						|
 *
 | 
						|
 * svgo config: Optimize SVG for WEB usage
 | 
						|
 */
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  plugins: [
 | 
						|
    {
 | 
						|
      name: 'preset-default',
 | 
						|
    },
 | 
						|
    // make diff friendly
 | 
						|
    'sortAttrs',
 | 
						|
    // Optimize SVG for WEB usage
 | 
						|
    'convertStyleToAttrs',
 | 
						|
    'removeXMLNS'
 | 
						|
  ],
 | 
						|
};
 |