Closed leonheess closed 3 years ago
Getting the aforementioned error with the following config:
module.exports = { parser: '@typescript-eslint/parser', plugins: [ 'cypress', 'prettier', '@typescript-eslint', 'lit', ], extends: [ 'eslint:recommended', 'plugin:cypress/recommended', 'prettier', 'plugin:@typescript-eslint/recommended', 'prettier/@typescript-eslint', 'plugin:lit/recommended', ], rules: { 'lit/rule-name': 'error', 'no-unexpected-multiline': 'off', '@typescript-eslint/indent': 'off', 'prettier/prettier': 'error', 'linebreak-style': ['error', 'unix'], 'no-console': 'warn', 'no-debugger': 'warn', 'no-unused-vars': [ 'error', { 'ignoreRestSiblings': true } ] }, ignorePatterns: [ '.*', '*.config.js' ], env: { 'es6': true, 'browser': true, 'node': true, }, }
"rule-name" is meant to be replaced by whatever rule you wish to enable (ie. binding-positions) like so lit/binding-positions
binding-positions
lit/binding-positions
Welp, that makes a lot of sense 😅
Getting the aforementioned error with the following config: