Remove ESLint rules incompatible with Pronto
The pronto-eslint gem depends on the eslintrb gem, which uses a very old version of ESLint which doesn't support some of the rules we use. The most useful rules here were no-tabs and func-call-spacing. It's a shame they were added to ESLint just one month after eslintrb stopped being maintained.
This commit is contained in:
@@ -34,7 +34,6 @@
|
|||||||
"null": "ignore"
|
"null": "ignore"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"func-call-spacing": "error",
|
|
||||||
"indent": [
|
"indent": [
|
||||||
"error",
|
"error",
|
||||||
2
|
2
|
||||||
@@ -42,7 +41,6 @@
|
|||||||
"key-spacing": "error",
|
"key-spacing": "error",
|
||||||
"keyword-spacing": "error",
|
"keyword-spacing": "error",
|
||||||
"linebreak-style": "error",
|
"linebreak-style": "error",
|
||||||
"lines-between-class-members": "error",
|
|
||||||
"max-len": [
|
"max-len": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
@@ -61,7 +59,6 @@
|
|||||||
"no-param-reassign": "error",
|
"no-param-reassign": "error",
|
||||||
"no-shadow": "error",
|
"no-shadow": "error",
|
||||||
"no-spaced-func": "error",
|
"no-spaced-func": "error",
|
||||||
"no-tabs": "error",
|
|
||||||
"no-trailing-spaces": "error",
|
"no-trailing-spaces": "error",
|
||||||
"no-void": "error",
|
"no-void": "error",
|
||||||
"no-whitespace-before-property": "error",
|
"no-whitespace-before-property": "error",
|
||||||
@@ -109,7 +106,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"strict": "error",
|
"strict": "error",
|
||||||
"switch-colon-spacing": "error",
|
|
||||||
"yoda": "error"
|
"yoda": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user