diff --git a/base.js b/base.js index 236fbeb..05f1dd9 100644 --- a/base.js +++ b/base.js @@ -15,9 +15,6 @@ module.exports = { // LWC lifecycle hooks validation '@lwc/lwc/no-deprecated': 'error', - // LWC public property syntax validation - '@lwc/lwc/no-leading-uppercase-api-name': 'warn', - // LWC decorator validation '@lwc/lwc/valid-api': 'error', '@lwc/lwc/valid-track': 'error', diff --git a/recommended.js b/recommended.js index c61fe97..0950c17 100644 --- a/recommended.js +++ b/recommended.js @@ -103,11 +103,12 @@ module.exports = { // LWC specific rules '@lwc/lwc/no-async-operation': 'error', - '@lwc/lwc/no-inner-html': 'error', '@lwc/lwc/no-document-query': 'error', + '@lwc/lwc/no-inner-html': 'error', + '@lwc/lwc/no-leading-uppercase-api-name': 'error', // Disable unresolved import rule since it doesn't work well with the way the LWC compiler // resolves the different modules - 'import/no-unresolved': 0, + 'import/no-unresolved': 'off', }, };