Преглед изворни кода

fix: remove global eslint config now that it's being deprecated

Kyle P Davis пре 1 година
родитељ
комит
d86b76b11b
2 измењених фајлова са 0 додато и 66 уклоњено
  1. 0 65
      .eslintrc.js
  2. 0 1
      install.sh

+ 0 - 65
.eslintrc.js

@@ -1,65 +0,0 @@
-module.exports = {
-
-	//TODO: reorder these based on eslint docs
-
-	//"parser": "babel-eslint", // for the <3 of generator comprehensions
-
-	"parserOptions": {
-		"ecmaVersion": 2018,
-		"sourceType": "module",
-		"ecmaFeatures": {
-			"impliedStrict": true,
-			"jsx": true,
-		},
-	},
-
-	"env": {
-		"browser": true,
-		"node": true,
-		"es6": true,
-		"mocha": true,
-	},
-
-	"rules": {
-
-		// Possible Errors
-		"comma-dangle": [2, "always-multiline"],
-		"valid-jsdoc": 2,
-
-		// Best Practices
-		"block-scoped-var": 2,
-		"complexity": [2, 15],
-		"curly": [2, "multi-line"],
-		"default-case": 2,
-		"dot-location": [2, "property"],
-		"guard-for-in": 2,
-		"no-floating-decimal": 2,
-		"wrap-iife": 2, //TODO: use "any" instead?
-
-		// Strict Mode
-		"strict": [2, "global"],
-
-		// Variables
-		// …
-
-		// Node.js
-		// …
-
-		// Stylistic Issues
-		"brace-style": [2, "1tbs"],
-		"camelcase": [2, { "properties": "always" }],
-		"quotes": [2, "double", "avoidEscape"],
-		"require-jsdoc": 2,
-
-		// ECMAScript 6
-		// …
-
-		// Legacy
-		"max-depth": [2, 7],
-		"max-len": [2, 140],
-		"max-params": [2, 11],
-		"max-statements": [2, 42],
-
-	},
-
-};

+ 0 - 1
install.sh

@@ -27,7 +27,6 @@ link() {
 FILES="
 FILES="
 	.profile
 	.profile
 	.vimrc
 	.vimrc
-	.eslintrc.js
 	.irbrc
 	.irbrc
 "
 "