Skip to content

Commit

Permalink
🎨 Add quote-props to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Dec 21, 2020
1 parent 1250187 commit 0371357
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
module.exports = {
'env': {
'commonjs': true,
'es2020': true,
'node': true
env: {
commonjs: true,
es2020: true,
node: true
},
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 11
extends: 'eslint:recommended',
parserOptions: {
ecmaVersion: 11
},
'rules': {
'indent': [
rules: {
indent: [
'error',
4
],
'quotes': [
quotes: [
'error',
'single'
],
'semi': [
semi: [
'error',
'always'
],
Expand All @@ -28,6 +28,7 @@ module.exports = {
'prefer-const': [
'warn'
],
'quote-props': ['error', 'as-needed'],
'no-async-promise-executor': 0,
'no-unused-vars': 0
}
Expand Down

0 comments on commit 0371357

Please sign in to comment.