-
-
Notifications
You must be signed in to change notification settings - Fork 205
Description
What version of eslint
are you using?
8.42.0
What version of prettier
are you using?
3.0.0
What version of eslint-plugin-prettier
are you using?
5.0.0
Please paste any applicable config files that you're using (e.g. .prettierrc
or .eslintrc
files)
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': ['error', { endOfLine: 'auto' }],
},
};
{
"singleQuote": true,
"trailingComma": "all",
"endOfLine": "auto"
}
What source code are you linting?
https://github.com/Serpentarius13/nest-eslint-error.
What did you expect to happen?
Linting for endOfLine
choosing should turn itself off when providing such a setting. However (im using Webstorm) even after few reloads, cache clean, npm reinstall with node_modules removal, error still happens to me. Even with all possible fixes I've looked upon, its still happening:
What actually happened?
Linting for EOL is not turning off and there's red underscores everywhere until I actually lint.