module.exports = {
	"env": {
		"browser": true,
		"commonjs": true,
		"es6": true
	},
	"extends": [
		"eslint:recommended",
		"plugin:react/recommended"
	],
	"globals": {
		"Atomics": "readonly",
		"SharedArrayBuffer": "readonly",

		"html2canvas": "readonly",
		"nlp": "readonly",
		"PRODUCTION": "readonly",

		"MyHomeworkSpace": "writable",
		"MHSBridge": "writable"
	},
	"parserOptions": {
		"ecmaFeatures": {
			"jsx": true
		},
		"ecmaVersion": 2018,
		"sourceType": "module"
	},
	"plugins": [
		"react",
		"react-hooks"
	],
	"rules": {
		"indent": [
			"error",
			"tab"
		],
		"linebreak-style": "off",
		"no-constant-condition": [
			"error",
			{ "checkLoops": false }
		],
		"no-extra-semi": "off",
		"no-unused-vars": [
			"off",
			{ "varsIgnorePattern": "(props|state)" }
		],
		"quotes": [
			"error",
			"double"
		],
		"semi": [
			"error",
			"always"
		],
		"space-before-function-paren": [
			"error",
			"never"
		],
		"react/jsx-key": "off",
		"react/prop-types": "off",
		"react/no-unescaped-entities": [
			"error",
			{ forbid: [">", "}"] }
		],
		"react/no-unknown-property": [
			"error",
			{ ignore: ["class"] }
		],
		"react-hooks/rules-of-hooks": "error",
		"react-hooks/exhaustive-deps": "warn",

		"no-console": 2
	},
	"settings": {
		"react": {
			"createClass": "createComponent",
			"pragma": "h",  // Pragma to use, default to "React"
			"version": "16.3"
		},
	}
};
@@ -570,16 +570,40 @@
 %09%09%09%22tab%22
+,%0A%09%09%09%7B %22SwitchCase%22: 1 %7D
 %0A%09%09%5D,%0A%09%09

indent switches