mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Bump prettier to 2.7.1 (#135143)
* Bump prettier to 2.7.1 * bump eslint-config-prettier * update .eslintrc
This commit is contained in:
parent
8f8ea8dd49
commit
5d85008aa9
4 changed files with 13 additions and 17 deletions
|
@ -1774,11 +1774,7 @@ module.exports = {
|
|||
*/
|
||||
{
|
||||
files: ['**/*'],
|
||||
rules: {
|
||||
...require('eslint-config-prettier').rules,
|
||||
...require('eslint-config-prettier/react').rules,
|
||||
...require('eslint-config-prettier/@typescript-eslint').rules,
|
||||
},
|
||||
rules: require('eslint-config-prettier').rules,
|
||||
},
|
||||
/**
|
||||
* Enterprise Search Prettier override
|
||||
|
|
|
@ -966,7 +966,7 @@
|
|||
"enzyme-adapter-utils": "^1.14.0",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-module-utils": "^2.6.2",
|
||||
"eslint-plugin-ban": "^1.5.2",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
|
@ -1056,7 +1056,7 @@
|
|||
"postcss": "^7.0.32",
|
||||
"postcss-loader": "^3.0.0",
|
||||
"postcss-prefix-selector": "^1.7.2",
|
||||
"prettier": "^2.6.2",
|
||||
"prettier": "^2.7.1",
|
||||
"pretty-format": "^27.5.1",
|
||||
"q": "^1.5.1",
|
||||
"raw-loader": "^3.1.0",
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
const semver = require('semver');
|
||||
const { kibanaPackageJson: PKG } = require('@kbn/utils');
|
||||
|
||||
const eslintConfigPrettierTypescriptEslintRules = require('eslint-config-prettier/@typescript-eslint').rules;
|
||||
const eslintConfigPrettierRules = require('eslint-config-prettier').rules;
|
||||
|
||||
// The current implementation excluded all the variables matching the regexp.
|
||||
// We should remove it as soon as multiple underscores are supported by the linter.
|
||||
|
@ -259,7 +259,7 @@ module.exports = {
|
|||
'eslint-comments/no-unused-disable': 'error',
|
||||
'eslint-comments/no-unused-enable': 'error'
|
||||
},
|
||||
eslintConfigPrettierTypescriptEslintRules
|
||||
eslintConfigPrettierRules
|
||||
)
|
||||
},
|
||||
]
|
||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -14139,10 +14139,10 @@ escodegen@~1.2.0:
|
|||
optionalDependencies:
|
||||
source-map "~0.1.30"
|
||||
|
||||
eslint-config-prettier@^7.2.0:
|
||||
version "7.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9"
|
||||
integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg==
|
||||
eslint-config-prettier@^8.5.0:
|
||||
version "8.5.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1"
|
||||
integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==
|
||||
|
||||
eslint-formatter-pretty@^4.1.0:
|
||||
version "4.1.0"
|
||||
|
@ -23515,10 +23515,10 @@ prettier-linter-helpers@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
|
||||
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
|
||||
|
||||
prettier@^2.6.2:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032"
|
||||
integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==
|
||||
prettier@^2.7.1:
|
||||
version "2.7.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
|
||||
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==
|
||||
|
||||
pretty-bytes@^5.6.0:
|
||||
version "5.6.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue