Commit c7264c50 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Met d'aplomb le formatage.

parent 28cac41e
# 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
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: {},
}
}; };
module.exports = { module.exports = {
semi: true, semi: true,
trailingComma: "all", trailingComma: 'all',
singleQuote: true, singleQuote: true,
printWidth: 120,
tabWidth: 4
}; };
...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment