chore: update to prettier 2.0
This commit is contained in:
parent
a02f9e8b3e
commit
0918b77e5b
3 changed files with 1686 additions and 1242 deletions
11
package.json
11
package.json
|
|
@ -10,7 +10,6 @@
|
||||||
"@commitlint/config-conventional": "^7.0.0",
|
"@commitlint/config-conventional": "^7.0.0",
|
||||||
"@open-wc/demoing-storybook": "^1.10.4",
|
"@open-wc/demoing-storybook": "^1.10.4",
|
||||||
"@open-wc/eslint-config": "^1.0.0",
|
"@open-wc/eslint-config": "^1.0.0",
|
||||||
"@open-wc/prettier-config": "^0.1.0",
|
|
||||||
"@open-wc/testing": "^2.5.0",
|
"@open-wc/testing": "^2.5.0",
|
||||||
"@open-wc/testing-helpers": "^1.0.0",
|
"@open-wc/testing-helpers": "^1.0.0",
|
||||||
"@open-wc/testing-karma": "^3.2.30",
|
"@open-wc/testing-karma": "^3.2.30",
|
||||||
|
|
@ -24,12 +23,14 @@
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"eclint": "^2.8.1",
|
"eclint": "^2.8.1",
|
||||||
"eslint": "^6.1.0",
|
"eslint": "^6.1.0",
|
||||||
|
"eslint-config-prettier": "^6.11.0",
|
||||||
"husky": "^1.0.0",
|
"husky": "^1.0.0",
|
||||||
"lerna": "3.4.3",
|
"lerna": "3.4.3",
|
||||||
"lint-staged": "^8.0.0",
|
"lint-staged": "^8.0.0",
|
||||||
"markdownlint-cli": "^0.17.0",
|
"markdownlint-cli": "^0.17.0",
|
||||||
"mocha": "^7.1.1",
|
"mocha": "^7.1.1",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
|
"prettier": "^2.0.5",
|
||||||
"rimraf": "^2.6.3",
|
"rimraf": "^2.6.3",
|
||||||
"rollup": "^1.27.8",
|
"rollup": "^1.27.8",
|
||||||
"sinon": "^7.2.2",
|
"sinon": "^7.2.2",
|
||||||
|
|
@ -86,5 +87,11 @@
|
||||||
"path": "./bundlesize/dist/all/all-*.js",
|
"path": "./bundlesize/dist/all/all-*.js",
|
||||||
"maxSize": "45 kB"
|
"maxSize": "45 kB"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"prettier": {
|
||||||
|
"printWidth": 100,
|
||||||
|
"singleQuote": true,
|
||||||
|
"arrowParens": "avoid",
|
||||||
|
"trailingComma": "all"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
/* eslint-disable import/no-extraneous-dependencies */
|
|
||||||
module.exports = require('@open-wc/prettier-config');
|
|
||||||
Loading…
Reference in a new issue