mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
Добавил размер табуляции, убрал одинарные кавычки
This commit is contained in:
parent
d7bcaf8c2e
commit
bdc4450b72
1 changed files with 11 additions and 10 deletions
21
.eslintrc.js
21
.eslintrc.js
|
@ -6,24 +6,25 @@ module.exports = {
|
|||
},
|
||||
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
|
||||
parserOptions: {
|
||||
'sourceType': 'commonjs',
|
||||
"ecmaVersion": 'latest'
|
||||
sourceType: 'commonjs',
|
||||
ecmaVersion: 'latest'
|
||||
},
|
||||
rules: {
|
||||
indent: 'off',
|
||||
semi: ['error', 'always'],
|
||||
'arrow-body-style': ["error", "as-needed"],
|
||||
"prettier/prettier": [
|
||||
"error", {
|
||||
"singleQuote": true,
|
||||
"parser": "flow"
|
||||
}
|
||||
'arrow-body-style': ['error', 'as-needed'],
|
||||
'prettier/prettier': [
|
||||
'error', {
|
||||
singleQuote: true,
|
||||
parser: "flow",
|
||||
tabWidth: 4
|
||||
},
|
||||
],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
'files': ['*/*.js'],
|
||||
files: ['*/*.js'],
|
||||
},
|
||||
],
|
||||
'ignorePatterns': ['.eslintrc.js'],
|
||||
ignorePatterns: ['.eslintrc.js'],
|
||||
};
|
Loading…
Add table
Reference in a new issue