disable array-element-newline; improve quotes

This commit is contained in:
sup39 2022-06-11 01:43:39 +09:00
parent 8d445a2d62
commit e5fc7aa000
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/**
* Copyright (c) 2021 sup39[サポミク]
* Copyright (c) 2021-2022 sup39[サポミク]
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@ -243,7 +243,7 @@ module.exports = {
*/
// 'array-bracket-newline': ['error'],
'array-bracket-spacing': ['error', 'never'],
'array-element-newline': ['error', 'consistent'],
'array-element-newline': ['off'],
'arrow-parens': ['error', 'as-needed'],
'arrow-spacing': ['off'],
// 'block-spacing': ['error'],
@ -291,7 +291,7 @@ module.exports = {
// 'operator-linebreak': ['error'],
'padded-blocks': ['error', 'never'],
// 'padding-line-between-statements': ['error'],
'quotes': ['error', 'single'],
'quotes': ['error', 'single', {'avoidEscape': true, 'allowTemplateLiterals': true}],
// 'rest-spread-spacing': ['error'],
'semi': ['error', 'always'],
'semi-spacing': ['error', {'before': false, 'after': true}],

View file

@ -1,6 +1,6 @@
{
"name": "@sup39/eslint-config-basic",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",
"license": "MIT",
"files": [