Skip to content

Commit

Permalink
Let linting settings reflect development usage (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs authored Aug 28, 2024
1 parent 264debe commit 5bd7e24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ module.exports = {
"vue/multi-word-component-names": "off",
// Rule disable for item_id, block_id and collection_id
"vue/prop-name-casing": "off",
"vue/no-unused-components": process.env.NODE_ENV === "production" ? "error" : "warn",
"vue/no-unused-vars": process.env.NODE_ENV === "production" ? "error" : "warn",
"cypress/no-assigning-return-values": "warn",
"cypress/no-unnecessary-waiting": "warn",
"cypress/unsafe-to-chain-command": "warn",
"prettier/prettier": "error",
"prettier/prettier": process.env.NODE_ENV === "production" ? "error" : "warn",
},
};

0 comments on commit 5bd7e24

Please sign in to comment.