updated to prettier v2

This commit is contained in:
Ben Garrett 2020-04-03 16:05:09 +11:00
parent 208fb9d90c
commit 86f945b33a
3 changed files with 11 additions and 9 deletions

View File

@ -4,15 +4,15 @@ module.exports = {
browser: true,
es6: true
},
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 6,
impliedStrict: true
},
extends: ['plugin:prettier/recommended'],
plugins: ['prettier'],
rules: {
quotes: ["error", "backtick"],
semi: ["error", "never"],
strict: ["error", "global"]
'no-console': ['off'],
'prettier/prettier': ['error'],
quotes: ['error', 'backtick'],
},
parserOptions: {
ecmaVersion: 2016,
},
globals: {
BrowserFS: true,

1
.prettierrc Normal file
View File

@ -0,0 +1 @@
{}

View File

@ -9,5 +9,6 @@
],
"spellright.language": [
"en"
]
],
"editor.formatOnSave": true
}