updated to prettier v2
This commit is contained in:
parent
208fb9d90c
commit
86f945b33a
16
.eslintrc.js
16
.eslintrc.js
@ -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
1
.prettierrc
Normal file
@ -0,0 +1 @@
|
||||
{}
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -9,5 +9,6 @@
|
||||
],
|
||||
"spellright.language": [
|
||||
"en"
|
||||
]
|
||||
],
|
||||
"editor.formatOnSave": true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user