-
-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
What version of eslint are you using?
"eslint": "4.15.0",
What version of prettier are you using?
"prettier": "1.10.2",
What version of eslint-plugin-prettier are you using?
"eslint-plugin-prettier": "2.5.0",
Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files)
const resolve = require('path').resolve;
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
node: true,
jest: true
},
extends: [
'standard',
'prettier',
'plugin:vue/base',
'plugin:vue/essential',
'plugin:vue/strongly-recommended',
'plugin:vue/recommended'
],
plugins: ['html', 'variables', 'prettier'],
rules: {
'prettier/prettier': 'error',
'import/no-unresolved': 'error',
'variables/only-ascii-variables': 'error'
},
settings: {
'import/resolver': {
webpack: {
config: {
resolve: {
alias: {
'~': __dirname
}
}
}
}
}
}
};
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true
},
What source code are you linting?
https://pastebin.com/Hzik4pNs
What did you expect to happen?
Formatting correct
What actually happened?
After updating eslint-plugin-prettier from 2.4.0 to 2.5.0 and run eslint --fix --ext .js,.vue --ignore-path .gitignore .

fitz7, robert-claypool, davepoon, Haroenv, jay-hankins and 6 more
Metadata
Metadata
Assignees
Labels
No labels