Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
ng-model-generator-bundle
Commits
c7264c50
Commit
c7264c50
authored
Feb 16, 2021
by
Guillaume Perréal
Browse files
Met d'aplomb le formatage.
parent
28cac41e
Changes
4
Hide whitespace changes
Inline
Side-by-side
.editorconfig
View file @
c7264c50
# editorconfig.org
root = true
root=true
[*]
[*]
charset=utf-8
charset = utf-8
end_of_line=lf
end_of_line = lf
indent_size=4
indent_size = 4
indent_style=space
indent_style = space
insert_final_newline=true
insert_final_newline = true
tab_width=4
trim_trailing_whitespace = true
trim_trailing_whitespace=true
[*.{js,yml,json,ts}]
indent_size=2
tab_width=2
[*.{js,yml,json,ts}.twig]
indent_size=2
tab_width=2
[Makefile]
indent_style=tab
[*.md]
[*.md]
max_line_length = off
max_line_length = off
trim_trailing_whitespace = false
trim_trailing_whitespace = false
[*.{json,yml}]
indent_size = 2
.eslintrc.js
View file @
c7264c50
module
.
exports
=
{
module
.
exports
=
{
parser
:
"
@typescript-eslint/parser
"
,
parser
:
'
@typescript-eslint/parser
'
,
parserOptions
:
{
parserOptions
:
{
ecmaVersion
:
2020
,
ecmaVersion
:
2018
,
sourceType
:
"
module
"
,
sourceType
:
'
module
'
,
},
},
extends
:
[
extends
:
[
"
plugin:@typescript-eslint/recommended
"
,
'
plugin:@typescript-eslint/recommended
'
,
"
prettier/@typescript-eslint
"
,
'
prettier/@typescript-eslint
'
,
// Doit rester en dernier :
// Doit rester en dernier :
"
plugin:prettier/recommended
"
'
plugin:prettier/recommended
'
,
],
],
rules
:
{
rules
:
{},
}
};
};
.prettierrc.js
View file @
c7264c50
module
.
exports
=
{
module
.
exports
=
{
semi
:
true
,
semi
:
true
,
trailingComma
:
"
all
"
,
trailingComma
:
'
all
'
,
singleQuote
:
true
,
singleQuote
:
true
,
printWidth
:
120
,
tabWidth
:
4
};
};
composer.json
View file @
c7264c50
...
@@ -87,10 +87,14 @@
...
@@ -87,10 +87,14 @@
"test:generate"
:
"@php tests/Fixtures/console ng-model:generate -o output >/dev/null"
"test:generate"
:
"@php tests/Fixtures/console ng-model:generate -o output >/dev/null"
},
},
"autoload"
:
{
"autoload"
:
{
"psr-4"
:
{
"Irstea\\NgModelGeneratorBundle\\"
:
"src/php/"
}
"psr-4"
:
{
"Irstea\\NgModelGeneratorBundle\\"
:
"src/php/"
}
},
},
"autoload-dev"
:
{
"autoload-dev"
:
{
"psr-4"
:
{
"Irstea\\NgModelGeneratorBundle\\Tests\\"
:
"tests/"
}
"psr-4"
:
{
"Irstea\\NgModelGeneratorBundle\\Tests\\"
:
"tests/"
}
},
},
"config"
:
{
"config"
:
{
"sort-packages"
:
true
,
"sort-packages"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment