-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added eslint and @Morilli's fix for the new Riot Client
- Loading branch information
Showing
7 changed files
with
1,329 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
root = true | ||
|
||
# GENERIC SETTINGS | ||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# WEB FILES | ||
[*.{css,html,js}] | ||
charset = utf-8 | ||
|
||
# MARKDOWN | ||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# NODE PROJECTS | ||
[{bower.json,package.json,.travis.yml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/node_modules/** | ||
**/bower_components/** | ||
__tests__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"extends": [ | ||
"airbnb-base", | ||
"eslint:recommended", | ||
"plugin:node/recommended" | ||
], | ||
|
||
"env": { | ||
"browser": true, | ||
"node": true, | ||
}, | ||
|
||
"plugins": [ | ||
// Node specific ESLint rules (requires eslint-plugin-node) | ||
"node", | ||
|
||
// Enable es6 imports (requires eslint-plugin-import) | ||
"import", | ||
|
||
// Enable linting in html files (requires eslint-plugin-html) | ||
"html" | ||
], | ||
|
||
"parserOptions": { | ||
"ecmaVersion": 9, | ||
"sourceType": "module", | ||
}, | ||
|
||
"settings": { | ||
"import/core-modules": [ | ||
"electron" | ||
] | ||
}, | ||
|
||
"rules": { | ||
|
||
"no-console": "off", | ||
|
||
"indent": ["error", 4, { | ||
"SwitchCase": 1, | ||
"VariableDeclarator": 1, | ||
"outerIIFEBody": 1, | ||
// MemberExpression: null, | ||
"FunctionDeclaration": { | ||
"parameters": 1, | ||
"body": 1 | ||
}, | ||
"FunctionExpression": { | ||
"parameters": 1, | ||
"body": 1 | ||
}, | ||
"CallExpression": { | ||
"arguments": 1 | ||
}, | ||
"ArrayExpression": 1, | ||
"ObjectExpression": 1, | ||
"ImportDeclaration": 1, | ||
"flatTernaryExpressions": false, | ||
"ignoreComments": false | ||
}], | ||
|
||
"no-underscore-dangle": ["error", { | ||
"allowAfterThis": true, | ||
"allowAfterSuper": true | ||
}], | ||
|
||
"max-len": ["error", 120, 2, { | ||
"ignoreUrls": true, | ||
"ignoreComments": false, | ||
"ignoreRegExpLiterals": true, | ||
"ignoreStrings": true, | ||
"ignoreTemplateLiterals": true | ||
}], | ||
|
||
"node/no-unpublished-require": ["error", { | ||
"allowModules": ["electron"] | ||
}], | ||
|
||
"no-async-promise-executor": "off", | ||
|
||
"linebreak-style": ["error", "windows"], | ||
|
||
"operator-linebreak": ["error", "after"], | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey dude, i have problems with rift explorer with league say always rift need to retart, say the same i test 10x :(
maybe problem with new patch?
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TLHaruXXX does this work? https://github.com/Morilli/rift-explorer/releases/tag/V6.2.1
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a known issue and i'm working on a fix but its not as simple sadly.
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TLHaruXXX did you login in the riot client?
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take in mind Morilli is trying to help please don't be rude when we're trying to help or explain why rift explorer is currently broken
af3ca54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.