mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			939 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			939 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   env: {
 | |
|     browser: true,
 | |
|     es6: true,
 | |
|   },
 | |
|   extends: [
 | |
|     'plugin:react/recommended',
 | |
|     'airbnb',
 | |
|   ],
 | |
|   parser: 'babel-eslint',
 | |
|   globals: {
 | |
|     Atomics: 'readonly',
 | |
|     SharedArrayBuffer: 'readonly',
 | |
|   },
 | |
|   parserOptions: {
 | |
|     ecmaFeatures: {
 | |
|       jsx: true,
 | |
|     },
 | |
|     ecmaVersion: 2018,
 | |
|     sourceType: 'module',
 | |
|   },
 | |
|   plugins: [
 | |
|     'react',
 | |
|   ],
 | |
|   rules: {
 | |
|     "react/jsx-filename-extension": 0,
 | |
|     "react/jsx-one-expression-per-line": 0,
 | |
|     "react/destructuring-assignment": 0,
 | |
|     "react/jsx-curly-spacing": [2, { "when": "always" }],
 | |
|     "react/prop-types": 0,
 | |
|     "react/no-access-state-in-setstate": 0,
 | |
|     "react/button-has-type": 0,
 | |
|     "max-len": [2, { code: 120 }],
 | |
|     "operator-linebreak": [2, "after"],
 | |
|     "no-console": [2, { allow: ["error", "warn"] }],
 | |
|     "linebreak-style": 0,
 | |
|     "jsx-a11y/no-static-element-interactions": 0,
 | |
|     "jsx-a11y/click-events-have-key-events": 0,
 | |
|   },
 | |
| };
 | 
