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
end_of_line=lf
indent_size=4
indent_style=space
insert_final_newline=true
tab_width=4
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
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false
[*.{json,yml}]
indent_size = 2
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
extends: [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
// Doit rester en dernier :
"plugin:prettier/recommended"
],
rules: {
}
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
extends: [
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
// Doit rester en dernier :
'plugin:prettier/recommended',
],
rules: {},
};
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 120,
tabWidth: 4
semi: true,
trailingComma: 'all',
singleQuote: true,
};
......@@ -87,10 +87,14 @@
"test:generate": "@php tests/Fixtures/console ng-model:generate -o output >/dev/null"
},
"autoload": {
"psr-4": { "Irstea\\NgModelGeneratorBundle\\": "src/php/" }
"psr-4": {
"Irstea\\NgModelGeneratorBundle\\": "src/php/"
}
},
"autoload-dev": {
"psr-4": { "Irstea\\NgModelGeneratorBundle\\Tests\\": "tests/" }
"psr-4": {
"Irstea\\NgModelGeneratorBundle\\Tests\\": "tests/"
}
},
"config": {
"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