fix(package): update eslint to version 4.17.0 (#1824)

* fix(package): update eslint to version 4.17.0

Closes #1778

* Fix eslint failure, fix yarn
This commit is contained in:
Christopher Grebs 2018-02-12 10:55:44 +01:00 коммит произвёл GitHub
Родитель 36f5343f37
Коммит 119813cf36
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -91,7 +91,7 @@
"dispensary": "0.14.0",
"doctoc": "1.3.0",
"es6-promisify": "5.0.0",
"eslint": "4.15.0",
"eslint": "4.17.0",
"eslint-plugin-no-unsafe-innerhtml": "1.0.16",
"esprima": "3.1.3",
"extract-text-webpack-plugin": "3.0.2",

Просмотреть файл

@ -15,10 +15,10 @@ export const fakeMessageData = {
message: 'message',
};
export const EMPTY_PNG = Buffer
.from(oneLine`iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMA
AQAABQABDQottAAAAABJRU5ErkJggg==`,
'base64');
export const EMPTY_PNG = Buffer.from(
oneLine`iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMA
AQAABQABDQottAAAAABJRU5ErkJggg==`,
'base64');
export function getRuleFiles(ruleType) {
const ruleFiles = fs.readdirSync(`src/rules/${ruleType}`);

Просмотреть файл

@ -2282,7 +2282,7 @@ doctrine@^2.0.0:
esutils "^2.0.2"
isarray "^1.0.0"
doctrine@^2.0.2:
doctrine@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
dependencies:
@ -2641,9 +2641,9 @@ eslint-visitor-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
eslint@4.15.0:
version "4.15.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.15.0.tgz#89ab38c12713eec3d13afac14e4a89e75ef08145"
eslint@4.17.0:
version "4.17.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf"
dependencies:
ajv "^5.3.0"
babel-code-frame "^6.22.0"
@ -2651,7 +2651,7 @@ eslint@4.15.0:
concat-stream "^1.6.0"
cross-spawn "^5.1.0"
debug "^3.1.0"
doctrine "^2.0.2"
doctrine "^2.1.0"
eslint-scope "^3.7.1"
eslint-visitor-keys "^1.0.0"
espree "^3.5.2"