diff --git a/packages/eslint-plugin-x/lib/configs/eslint.js b/packages/eslint-plugin-x/lib/configs/eslint.js index afd9e7b598..bb1069c67f 100644 --- a/packages/eslint-plugin-x/lib/configs/eslint.js +++ b/packages/eslint-plugin-x/lib/configs/eslint.js @@ -7,7 +7,6 @@ module.exports = { curly: ['error', 'all'], eqeqeq: ['error', 'always', { null: 'ignore' }], indent: 'off', - // THESE 'max-len' rules ARE ALMOST THE SAME OVERRIDE CONFIG THAT IS SET IN x-components/.eslintrc.js for vue files, except the ignorePattern, so we will override it below in vue files 'max-len': ['error', { code: 100, ignoreComments: false, ignorePattern: 'class=".*"$' }], 'no-alert': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',