Skip to content

Commit

Permalink
Remove configuration of eslint-plugin-prettier
Browse files Browse the repository at this point in the history
Downstream projects have switched to using `prettier --check` to verify
that code follows style guide.

Example: sinonjs/sinon#2324
  • Loading branch information
mroderick committed Feb 23, 2021
1 parent e7af8a0 commit 4e8129d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions index.js
Expand Up @@ -286,10 +286,6 @@ const ecmaScript6 = {
// prettier: "yield-star-spacing": "off"
}

const prettier = {
"prettier/prettier": "error"
};

const jsDoc = {
"jsdoc/require-param-description": "off",
"jsdoc/require-returns-description": "off"
Expand All @@ -298,8 +294,7 @@ const jsDoc = {
module.exports = {
"extends": [
"plugin:compat/recommended",
"plugin:jsdoc/recommended",
"plugin:prettier/recommended"
"plugin:jsdoc/recommended"
],
"env": {
"browser": true,
Expand All @@ -308,8 +303,7 @@ module.exports = {
},
"plugins": [
"compat",
"jsdoc",
"prettier"
"jsdoc"
],
"rules": Object.assign(
{},
Expand All @@ -319,7 +313,6 @@ module.exports = {
variables,
stylisticIssues,
ecmaScript6,
prettier,
jsDoc
),
"settings": {
Expand Down

0 comments on commit 4e8129d

Please sign in to comment.