├── rector.php ├── tests ├── style.json └── style.php ├── package.json ├── presets ├── rector │ ├── default.php │ └── laravel.php └── pint │ ├── 8.2.json │ ├── 8.3.json │ └── 8.4.json ├── biome.json ├── bin └── codestyle ├── src └── Console │ ├── NpmCommand.php │ ├── EditorConfigCommand.php │ ├── RectorCommand.php │ └── PintCommand.php ├── composer.json └── .editorconfig /rector.php: -------------------------------------------------------------------------------- 1 | withPaths([ 11 | 'bin', 12 | 'presets', 13 | 'src', 14 | 'rector.php', 15 | ]); 16 | -------------------------------------------------------------------------------- /tests/style.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "laravel", 3 | "rules": { 4 | "@PHP83Migration": true, 5 | "concat_space": { 6 | "spacing": "one" 7 | }, 8 | "blank_line_before_statement": { 9 | "statements": [ 10 | "declare", 11 | "phpdoc", 12 | "continue", 13 | "return" 14 | ] 15 | } 16 | }, 17 | 18 | "extraSorting": { 19 | "foo": "Foo", 20 | "bar": "Bar" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dragon-code-codestyler", 3 | "description": "A tool to automatically fix Coding Style Standards issues by The Dragon Code.", 4 | "homepage": "https://github.com/TheDragonCode/codestyler#readme", 5 | "bugs": { 6 | "url": "https://github.com/TheDragonCode/codestyler/issues" 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "git+https://github.com/TheDragonCode/codestyler.git" 11 | }, 12 | "license": "MIT", 13 | "author": "Andrey Helldar ", 14 | "scripts": { 15 | "lint": "npx @biomejs/biome lint --write", 16 | "format": "npx @biomejs/biome format --write", 17 | "style": "npm run lint && npm run format" 18 | }, 19 | "devDependencies": { 20 | "@biomejs/biome": "^2.3.6" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /presets/rector/default.php: -------------------------------------------------------------------------------- 1 | array_filter($paths, fn (string $path): bool => realpath($path) !== false); 9 | 10 | return RectorConfig::configure() 11 | ->withPaths( 12 | $paths([ 13 | 'app', 14 | 'config', 15 | 'database', 16 | 'public/index.php', 17 | 'resources', 18 | 'src', 19 | 'tests', 20 | ]) 21 | ) 22 | ->withFileExtensions(['php']) 23 | ->withParallel() 24 | ->withPreparedSets( 25 | deadCode : true, 26 | typeDeclarations: true, 27 | ) 28 | ->withPhpSets() 29 | ->withImportNames( 30 | removeUnusedImports: true, 31 | ) 32 | ->withComposerBased( 33 | phpunit: true 34 | ) 35 | ->withAttributesSets( 36 | phpunit: true, 37 | ) 38 | ->withConfiguredRule(RemoveDumpDataDeadCodeRector::class, [ 39 | 'dd', 40 | 'dump', 41 | 'var_dump', 42 | 'print_r', 43 | 'echo', 44 | ]); 45 | -------------------------------------------------------------------------------- /tests/style.php: -------------------------------------------------------------------------------- 1 | $item; 29 | 30 | // Return value 31 | return $result(); 32 | } 33 | 34 | public function alignment(): array 35 | { 36 | $foo = 'value'; 37 | 38 | return [ 39 | 'foo' => 'Foo', 40 | 'bar' => 'Bar', 41 | 'qwerty' => 'Qwerty', 42 | 43 | 'f1' => 'F1', 44 | 'f2' => 'F2', 45 | 'some' => 'Some', 46 | ]; 47 | } 48 | } 49 | 50 | $newClass = new ValueClass; 51 | 52 | $possibleFiles = [ 53 | __DIR__ . '/../../../autoload.php', 54 | __DIR__ . '/../../autoload.php', 55 | __DIR__ . '/../vendor/autoload.php', 56 | ]; 57 | -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", 3 | "vcs": { 4 | "enabled": false, 5 | "clientKind": "git", 6 | "useIgnoreFile": false 7 | }, 8 | "files": { 9 | "ignoreUnknown": false, 10 | "includes": [ 11 | "**", 12 | "!node_modules", 13 | "!vendor", 14 | "!composer.json", 15 | "!composer.lock", 16 | "!package.json", 17 | "!package-lock.json" 18 | ] 19 | }, 20 | "formatter": { 21 | "enabled": true, 22 | "indentStyle": "space", 23 | "indentWidth": 4 24 | }, 25 | "linter": { 26 | "enabled": true, 27 | "rules": { 28 | "recommended": true 29 | } 30 | }, 31 | "javascript": { 32 | "formatter": { 33 | "quoteStyle": "double" 34 | } 35 | }, 36 | "json": { 37 | "formatter": { 38 | "enabled": true, 39 | "bracketSpacing": true, 40 | "expand": "always" 41 | }, 42 | "parser": { 43 | "allowComments": true 44 | } 45 | }, 46 | "assist": { 47 | "enabled": true, 48 | "actions": { 49 | "source": { 50 | "organizeImports": "on" 51 | } 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /bin/codestyle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | add(new EditorConfigCommand); 47 | $application->add(new PintCommand); 48 | $application->add(new RectorCommand); 49 | $application->add(new NpmCommand); 50 | 51 | $application->run(); 52 | -------------------------------------------------------------------------------- /src/Console/NpmCommand.php: -------------------------------------------------------------------------------- 1 | setName('npm') 22 | ->setDescription('Publishes the biome.json file') 23 | ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); 24 | } 25 | 26 | protected function execute(InputInterface $input, OutputInterface $output): int 27 | { 28 | $path = $input->getOption('path'); 29 | $source = $this->sourcePath(); 30 | $target = $this->targetPath($path); 31 | 32 | if (! $this->validateDirectory($path)) { 33 | $output->writeln("Directory \"$path\" not found."); 34 | 35 | return static::FAILURE; 36 | } 37 | 38 | copy($source, $target); 39 | 40 | $output->writeln("The biome.json file published successfully to \"$target\"."); 41 | 42 | return static::SUCCESS; 43 | } 44 | 45 | protected function validateDirectory(string $path): bool 46 | { 47 | return file_exists($path) && is_dir($path); 48 | } 49 | 50 | protected function sourcePath(): string 51 | { 52 | return __DIR__ . '/../../biome.json'; 53 | } 54 | 55 | protected function targetPath(string $path): string 56 | { 57 | return $path . '/biome.json'; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/Console/EditorConfigCommand.php: -------------------------------------------------------------------------------- 1 | setName('editorconfig') 22 | ->setDescription('Publishes the .editorconfig file') 23 | ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); 24 | } 25 | 26 | protected function execute(InputInterface $input, OutputInterface $output): int 27 | { 28 | $path = $input->getOption('path'); 29 | $source = $this->sourcePath(); 30 | $target = $this->targetPath($path); 31 | 32 | if (! $this->validateDirectory($path)) { 33 | $output->writeln("Directory \"$path\" not found."); 34 | 35 | return static::FAILURE; 36 | } 37 | 38 | copy($source, $target); 39 | 40 | $output->writeln("The .editorconfig file published successfully to \"$target\"."); 41 | 42 | return static::SUCCESS; 43 | } 44 | 45 | protected function validateDirectory(string $path): bool 46 | { 47 | return file_exists($path) && is_dir($path); 48 | } 49 | 50 | protected function sourcePath(): string 51 | { 52 | return __DIR__ . '/../../.editorconfig'; 53 | } 54 | 55 | protected function targetPath(string $path): string 56 | { 57 | return $path . '/.editorconfig'; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/Console/RectorCommand.php: -------------------------------------------------------------------------------- 1 | setName('rector') 19 | ->setDescription('Publishes presets for the Rector') 20 | ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset') 21 | ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); 22 | } 23 | 24 | protected function execute(InputInterface $input, OutputInterface $output): int 25 | { 26 | $version = $input->getArgument('preset'); 27 | $path = $input->getOption('path'); 28 | 29 | if (! $this->validateVersion($version)) { 30 | $output->writeln("Preset \"$version\" not found for Rector."); 31 | 32 | return static::FAILURE; 33 | } 34 | 35 | if (! $this->validateDirectory($path)) { 36 | $output->writeln("Directory \"$path\" not found."); 37 | 38 | return static::FAILURE; 39 | } 40 | 41 | copy($this->presetPath($version), $path . '/rector.php'); 42 | 43 | $output->writeln("Preset \"$version\" published successfully."); 44 | 45 | return static::SUCCESS; 46 | } 47 | 48 | protected function validateVersion(string $version): bool 49 | { 50 | return file_exists( 51 | $this->presetPath($version) 52 | ); 53 | } 54 | 55 | protected function validateDirectory(string $path): bool 56 | { 57 | return file_exists($path) && is_dir($path); 58 | } 59 | 60 | protected function presetPath(string $version): string 61 | { 62 | return __DIR__ . "/../../presets/rector/$version.php"; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/Console/PintCommand.php: -------------------------------------------------------------------------------- 1 | setName('pint') 23 | ->setDescription('Publishes presets for the Laravel Pint') 24 | ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset') 25 | ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); 26 | } 27 | 28 | protected function execute(InputInterface $input, OutputInterface $output): int 29 | { 30 | $version = $input->getArgument('preset'); 31 | $path = $input->getOption('path'); 32 | 33 | if (! $this->validateVersion($version)) { 34 | $output->writeln("Preset \"$version\" not found for Laravel Pint."); 35 | 36 | return static::FAILURE; 37 | } 38 | 39 | if (! $this->validateDirectory($path)) { 40 | $output->writeln("Directory \"$path\" not found."); 41 | 42 | return static::FAILURE; 43 | } 44 | 45 | copy($this->presetPath($version), $path . '/pint.json'); 46 | 47 | $output->writeln("Preset \"$version\" published successfully."); 48 | 49 | return static::SUCCESS; 50 | } 51 | 52 | protected function validateVersion(string $version): bool 53 | { 54 | return file_exists( 55 | $this->presetPath($version) 56 | ); 57 | } 58 | 59 | protected function validateDirectory(string $path): bool 60 | { 61 | return file_exists($path) && is_dir($path); 62 | } 63 | 64 | protected function presetPath(string $version): string 65 | { 66 | return __DIR__ . "/../../presets/pint/$version.json"; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dragon-code/codestyler", 3 | "description": "A tool to automatically fix Coding Style Standards issues by The Dragon Code.", 4 | "license": "MIT", 5 | "type": "library", 6 | "keywords": [ 7 | "php", 8 | "json", 9 | "format", 10 | "formatter", 11 | "lint", 12 | "linter", 13 | "style", 14 | "code style", 15 | "codestyle", 16 | "standard", 17 | "json", 18 | "yaml", 19 | "php", 20 | "php-cs" 21 | ], 22 | "authors": [ 23 | { 24 | "name": "Andrey Helldar", 25 | "email": "helldar@dragon-code.pro", 26 | "homepage": "https://dragon-code.pro" 27 | } 28 | ], 29 | "support": { 30 | "issues": "https://github.com/TheDragonCode/codestyler/issues", 31 | "source": "https://github.com/TheDragonCode/codestyler" 32 | }, 33 | "funding": [ 34 | { 35 | "type": "boosty", 36 | "url": "https://boosty.to/dragon-code" 37 | }, 38 | { 39 | "type": "yoomoney", 40 | "url": "https://yoomoney.ru/to/410012608840929" 41 | } 42 | ], 43 | "require": { 44 | "php": "^8.2", 45 | "ext-json": "*", 46 | "driftingly/rector-laravel": "^2.1", 47 | "ergebnis/composer-normalize": "^2.48", 48 | "laravel/pint": "^1.24", 49 | "symfony/console": "^7.3" 50 | }, 51 | "require-dev": { 52 | "symfony/var-dumper": "^7.3" 53 | }, 54 | "minimum-stability": "stable", 55 | "prefer-stable": true, 56 | "autoload": { 57 | "psr-4": { 58 | "DragonCode\\Codestyler\\": "src/" 59 | } 60 | }, 61 | "bin": [ 62 | "bin/codestyle" 63 | ], 64 | "config": { 65 | "allow-plugins": { 66 | "ergebnis/composer-normalize": true, 67 | "laravel/pint": true 68 | }, 69 | "optimize-autoloader": true, 70 | "preferred-install": "dist", 71 | "sort-packages": true 72 | }, 73 | "scripts": { 74 | "post-update-cmd": [ 75 | "php bin/codestyle pint 8.2", 76 | "composer normalize" 77 | ], 78 | "style": [ 79 | "vendor/bin/rector", 80 | "vendor/bin/pint ./bin/codestyle ./src/ ./tests" 81 | ] 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /presets/rector/laravel.php: -------------------------------------------------------------------------------- 1 | array_filter($paths, fn (string $path): bool => realpath($path) !== false); 17 | 18 | return RectorConfig::configure() 19 | ->withPaths( 20 | $paths([ 21 | 'app', 22 | 'bin', 23 | 'bootstrap', 24 | 'config', 25 | 'database', 26 | 'lang', 27 | 'operations', 28 | 'public/index.php', 29 | 'resources', 30 | 'routes', 31 | 'src', 32 | 'tests', 33 | ]) 34 | ) 35 | ->withSkip( 36 | $paths(['bootstrap/cache']) 37 | ) 38 | ->withFileExtensions(['php']) 39 | ->withParallel() 40 | ->withPreparedSets( 41 | deadCode : true, 42 | typeDeclarations: true, 43 | ) 44 | ->withPhpSets() 45 | ->withSetProviders(LaravelSetProvider::class) 46 | ->withImportNames( 47 | removeUnusedImports: true, 48 | ) 49 | ->withComposerBased( 50 | phpunit: true, 51 | laravel: true 52 | ) 53 | ->withAttributesSets( 54 | phpunit: true, 55 | ) 56 | ->withSets([ 57 | LaravelSetList::LARAVEL_COLLECTION, 58 | LaravelSetList::LARAVEL_FACADE_ALIASES_TO_FULL_NAMES, 59 | LaravelSetList::LARAVEL_TESTING, 60 | ]) 61 | ->withConfiguredRule(RemoveDumpDataDeadCodeRector::class, [ 62 | 'dd', 63 | 'dump', 64 | 'var_dump', 65 | 'print_r', 66 | 'echo', 67 | ]) 68 | ->withConfiguredRule(WhereToWhereLikeRector::class, [ 69 | WhereToWhereLikeRector::USING_POSTGRES_DRIVER => true, 70 | ]) 71 | ->withRules([ 72 | RemoveModelPropertyFromFactoriesRector::class, 73 | UseComponentPropertyWithinCommandsRector::class, 74 | TypeHintTappableCallRector::class, 75 | EloquentWhereRelationTypeHintingParameterRector::class, 76 | EloquentWhereTypeHintClosureParameterRector::class, 77 | ]); 78 | -------------------------------------------------------------------------------- /presets/pint/8.2.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "laravel", 3 | "exclude": [ 4 | "tests/Fixtures" 5 | ], 6 | "rules": { 7 | "@PHP71Migration": true, 8 | "@PHP73Migration": true, 9 | "@PHP74Migration": true, 10 | "@PHP80Migration": true, 11 | "@PHP81Migration": true, 12 | "@PHP82Migration": true, 13 | "concat_space": { 14 | "spacing": "one" 15 | }, 16 | "blank_line_before_statement": { 17 | "statements": [ 18 | "declare", 19 | "phpdoc", 20 | "continue", 21 | "return" 22 | ] 23 | }, 24 | "class_attributes_separation": { 25 | "elements": { 26 | "case": "none", 27 | "const": "none", 28 | "method": "one", 29 | "property": "one", 30 | "trait_import": "none" 31 | } 32 | }, 33 | "class_definition": { 34 | "multi_line_extends_each_single_line": true, 35 | "single_item_single_line": true, 36 | "single_line": true, 37 | "space_before_parenthesis": true 38 | }, 39 | "combine_consecutive_issets": true, 40 | "combine_consecutive_unsets": true, 41 | "braces_position": { 42 | "allow_single_line_anonymous_functions": true, 43 | "allow_single_line_empty_anonymous_classes": true, 44 | "anonymous_classes_opening_brace": "same_line" 45 | }, 46 | "escape_implicit_backslashes": { 47 | "double_quoted": true, 48 | "heredoc_syntax": true, 49 | "single_quoted": false 50 | }, 51 | "global_namespace_import": { 52 | "import_classes": true, 53 | "import_constants": true, 54 | "import_functions": true 55 | }, 56 | "multiline_comment_opening_closing": true, 57 | "no_superfluous_elseif": true, 58 | "no_useless_else": true, 59 | "operator_linebreak": { 60 | "only_booleans": false 61 | }, 62 | "ordered_types": { 63 | "null_adjustment": "always_last", 64 | "sort_algorithm": "alpha" 65 | }, 66 | "phpdoc_line_span": { 67 | "const": "single", 68 | "method": "multi", 69 | "property": "single" 70 | }, 71 | "return_assignment": true, 72 | "simplified_if_return": true, 73 | "phpdoc_param_order": true, 74 | "fully_qualified_strict_types": true, 75 | "declare_strict_types": true, 76 | "types_spaces": { 77 | "space_multiple_catch": "none" 78 | }, 79 | "binary_operator_spaces": { 80 | "default": "align_single_space_minimal" 81 | }, 82 | "php_unit_method_casing": { 83 | "case": "camel_case" 84 | } 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /presets/pint/8.3.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "laravel", 3 | "exclude": [ 4 | "tests/Fixtures" 5 | ], 6 | "rules": { 7 | "@PHP71Migration": true, 8 | "@PHP73Migration": true, 9 | "@PHP74Migration": true, 10 | "@PHP80Migration": true, 11 | "@PHP81Migration": true, 12 | "@PHP82Migration": true, 13 | "@PHP83Migration": true, 14 | "concat_space": { 15 | "spacing": "one" 16 | }, 17 | "blank_line_before_statement": { 18 | "statements": [ 19 | "declare", 20 | "phpdoc", 21 | "continue", 22 | "return" 23 | ] 24 | }, 25 | "class_attributes_separation": { 26 | "elements": { 27 | "case": "none", 28 | "const": "none", 29 | "method": "one", 30 | "property": "one", 31 | "trait_import": "none" 32 | } 33 | }, 34 | "class_definition": { 35 | "multi_line_extends_each_single_line": true, 36 | "single_item_single_line": true, 37 | "single_line": true, 38 | "space_before_parenthesis": true 39 | }, 40 | "combine_consecutive_issets": true, 41 | "combine_consecutive_unsets": true, 42 | "braces_position": { 43 | "allow_single_line_anonymous_functions": true, 44 | "allow_single_line_empty_anonymous_classes": true, 45 | "anonymous_classes_opening_brace": "same_line" 46 | }, 47 | "escape_implicit_backslashes": { 48 | "double_quoted": true, 49 | "heredoc_syntax": true, 50 | "single_quoted": false 51 | }, 52 | "global_namespace_import": { 53 | "import_classes": true, 54 | "import_constants": true, 55 | "import_functions": true 56 | }, 57 | "multiline_comment_opening_closing": true, 58 | "no_superfluous_elseif": true, 59 | "no_useless_else": true, 60 | "operator_linebreak": { 61 | "only_booleans": false 62 | }, 63 | "ordered_types": { 64 | "null_adjustment": "always_last", 65 | "sort_algorithm": "alpha" 66 | }, 67 | "phpdoc_line_span": { 68 | "const": "single", 69 | "method": "multi", 70 | "property": "single" 71 | }, 72 | "return_assignment": true, 73 | "simplified_if_return": true, 74 | "phpdoc_param_order": true, 75 | "fully_qualified_strict_types": true, 76 | "declare_strict_types": true, 77 | "types_spaces": { 78 | "space_multiple_catch": "none" 79 | }, 80 | "binary_operator_spaces": { 81 | "default": "align_single_space_minimal" 82 | }, 83 | "php_unit_method_casing": { 84 | "case": "camel_case" 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /presets/pint/8.4.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "laravel", 3 | "exclude": [ 4 | "tests/Fixtures" 5 | ], 6 | "rules": { 7 | "@PHP71Migration": true, 8 | "@PHP73Migration": true, 9 | "@PHP74Migration": true, 10 | "@PHP80Migration": true, 11 | "@PHP81Migration": true, 12 | "@PHP82Migration": true, 13 | "@PHP83Migration": true, 14 | "@PHP84Migration": true, 15 | "concat_space": { 16 | "spacing": "one" 17 | }, 18 | "blank_line_before_statement": { 19 | "statements": [ 20 | "declare", 21 | "phpdoc", 22 | "continue", 23 | "return" 24 | ] 25 | }, 26 | "class_attributes_separation": { 27 | "elements": { 28 | "case": "none", 29 | "const": "none", 30 | "method": "one", 31 | "property": "one", 32 | "trait_import": "none" 33 | } 34 | }, 35 | "class_definition": { 36 | "multi_line_extends_each_single_line": true, 37 | "single_item_single_line": true, 38 | "single_line": true, 39 | "space_before_parenthesis": true 40 | }, 41 | "combine_consecutive_issets": true, 42 | "combine_consecutive_unsets": true, 43 | "braces_position": { 44 | "allow_single_line_anonymous_functions": true, 45 | "allow_single_line_empty_anonymous_classes": true, 46 | "anonymous_classes_opening_brace": "same_line" 47 | }, 48 | "escape_implicit_backslashes": { 49 | "double_quoted": true, 50 | "heredoc_syntax": true, 51 | "single_quoted": false 52 | }, 53 | "global_namespace_import": { 54 | "import_classes": true, 55 | "import_constants": true, 56 | "import_functions": true 57 | }, 58 | "multiline_comment_opening_closing": true, 59 | "no_superfluous_elseif": true, 60 | "no_useless_else": true, 61 | "operator_linebreak": { 62 | "only_booleans": false 63 | }, 64 | "ordered_types": { 65 | "null_adjustment": "always_last", 66 | "sort_algorithm": "alpha" 67 | }, 68 | "phpdoc_line_span": { 69 | "const": "single", 70 | "method": "multi", 71 | "property": "single" 72 | }, 73 | "return_assignment": true, 74 | "simplified_if_return": true, 75 | "phpdoc_param_order": true, 76 | "fully_qualified_strict_types": true, 77 | "declare_strict_types": true, 78 | "types_spaces": { 79 | "space_multiple_catch": "none" 80 | }, 81 | "binary_operator_spaces": { 82 | "default": "align_single_space_minimal" 83 | }, 84 | "php_unit_method_casing": { 85 | "case": "camel_case" 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | charset = utf-8 3 | end_of_line = lf 4 | indent_size = 4 5 | indent_style = space 6 | insert_final_newline = true 7 | max_line_length = 120 8 | tab_width = 4 9 | trim_trailing_whitespace = false 10 | ij_continuation_indent_size = 8 11 | ij_formatter_off_tag = @formatter:off 12 | ij_formatter_on_tag = @formatter:on 13 | ij_formatter_tags_enabled = true 14 | ij_smart_tabs = false 15 | ij_visual_guides = 16 | ij_wrap_on_typing = false 17 | 18 | [*.blade.php] 19 | ij_continuation_indent_size = 4 20 | ij_blade_keep_indents_on_empty_lines = false 21 | 22 | [*.css] 23 | ij_css_align_closing_brace_with_properties = false 24 | ij_css_blank_lines_around_nested_selector = 1 25 | ij_css_blank_lines_between_blocks = 1 26 | ij_css_block_comment_add_space = true 27 | ij_css_brace_placement = end_of_line 28 | ij_css_enforce_quotes_on_format = true 29 | ij_css_hex_color_long_format = true 30 | ij_css_hex_color_lower_case = false 31 | ij_css_hex_color_short_format = false 32 | ij_css_hex_color_upper_case = true 33 | ij_css_keep_blank_lines_in_code = 1 34 | ij_css_keep_indents_on_empty_lines = false 35 | ij_css_keep_single_line_blocks = false 36 | ij_css_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow 37 | ij_css_space_after_colon = true 38 | ij_css_space_before_opening_brace = true 39 | ij_css_use_double_quotes = true 40 | ij_css_value_alignment = do_not_align 41 | 42 | [*.sass] 43 | ij_sass_align_closing_brace_with_properties = false 44 | ij_sass_blank_lines_around_nested_selector = 1 45 | ij_sass_blank_lines_between_blocks = 1 46 | ij_sass_brace_placement = 0 47 | ij_sass_enforce_quotes_on_format = false 48 | ij_sass_hex_color_long_format = false 49 | ij_sass_hex_color_lower_case = false 50 | ij_sass_hex_color_short_format = false 51 | ij_sass_hex_color_upper_case = false 52 | ij_sass_keep_blank_lines_in_code = 2 53 | ij_sass_keep_indents_on_empty_lines = false 54 | ij_sass_keep_single_line_blocks = false 55 | ij_sass_line_comment_add_space = false 56 | ij_sass_line_comment_at_first_column = false 57 | ij_sass_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow 58 | ij_sass_space_after_colon = true 59 | ij_sass_space_before_opening_brace = true 60 | ij_sass_use_double_quotes = true 61 | ij_sass_value_alignment = 0 62 | 63 | [*.scss] 64 | ij_scss_align_closing_brace_with_properties = false 65 | ij_scss_blank_lines_around_nested_selector = 1 66 | ij_scss_blank_lines_between_blocks = 1 67 | ij_scss_block_comment_add_space = true 68 | ij_scss_brace_placement = 0 69 | ij_scss_enforce_quotes_on_format = true 70 | ij_scss_hex_color_long_format = true 71 | ij_scss_hex_color_lower_case = false 72 | ij_scss_hex_color_short_format = false 73 | ij_scss_hex_color_upper_case = true 74 | ij_scss_keep_blank_lines_in_code = 1 75 | ij_scss_keep_indents_on_empty_lines = false 76 | ij_scss_keep_single_line_blocks = false 77 | ij_scss_line_comment_add_space = false 78 | ij_scss_line_comment_at_first_column = false 79 | ij_scss_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow 80 | ij_scss_space_after_colon = true 81 | ij_scss_space_before_opening_brace = true 82 | ij_scss_use_double_quotes = true 83 | ij_scss_value_alignment = 0 84 | 85 | [*.vue] 86 | ij_continuation_indent_size = 4 87 | ij_vue_indent_children_of_top_level = template 88 | ij_vue_interpolation_new_line_after_start_delimiter = true 89 | ij_vue_interpolation_new_line_before_end_delimiter = true 90 | ij_vue_interpolation_wrap = off 91 | ij_vue_keep_indents_on_empty_lines = false 92 | ij_vue_spaces_within_interpolation_expressions = true 93 | 94 | [.editorconfig] 95 | ij_editorconfig_align_group_field_declarations = false 96 | ij_editorconfig_space_after_colon = false 97 | ij_editorconfig_space_after_comma = true 98 | ij_editorconfig_space_before_colon = false 99 | ij_editorconfig_space_before_comma = false 100 | ij_editorconfig_spaces_around_assignment_operators = true 101 | 102 | [{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul,phpunit.xml.dist}] 103 | ij_xml_align_attributes = true 104 | ij_xml_align_text = false 105 | ij_xml_attribute_wrap = normal 106 | ij_xml_block_comment_add_space = true 107 | ij_xml_block_comment_at_first_column = true 108 | ij_xml_keep_blank_lines = 2 109 | ij_xml_keep_indents_on_empty_lines = false 110 | ij_xml_keep_line_breaks = true 111 | ij_xml_keep_line_breaks_in_text = true 112 | ij_xml_keep_whitespaces = false 113 | ij_xml_keep_whitespaces_around_cdata = preserve 114 | ij_xml_keep_whitespaces_inside_cdata = false 115 | ij_xml_line_comment_at_first_column = true 116 | ij_xml_space_after_tag_name = false 117 | ij_xml_space_around_equals_in_attribute = false 118 | ij_xml_space_inside_empty_tag = true 119 | ij_xml_text_wrap = normal 120 | 121 | [{*.ats,*.cts,*.mts,*.ts}] 122 | ij_continuation_indent_size = 4 123 | ij_typescript_align_imports = false 124 | ij_typescript_align_multiline_array_initializer_expression = false 125 | ij_typescript_align_multiline_binary_operation = false 126 | ij_typescript_align_multiline_chained_methods = false 127 | ij_typescript_align_multiline_extends_list = false 128 | ij_typescript_align_multiline_for = true 129 | ij_typescript_align_multiline_parameters = true 130 | ij_typescript_align_multiline_parameters_in_calls = false 131 | ij_typescript_align_multiline_ternary_operation = false 132 | ij_typescript_align_object_properties = 0 133 | ij_typescript_align_union_types = false 134 | ij_typescript_align_var_statements = 0 135 | ij_typescript_array_initializer_new_line_after_left_brace = false 136 | ij_typescript_array_initializer_right_brace_on_new_line = false 137 | ij_typescript_array_initializer_wrap = off 138 | ij_typescript_assignment_wrap = off 139 | ij_typescript_binary_operation_sign_on_next_line = false 140 | ij_typescript_binary_operation_wrap = off 141 | ij_typescript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** 142 | ij_typescript_blank_lines_after_imports = 1 143 | ij_typescript_blank_lines_around_class = 1 144 | ij_typescript_blank_lines_around_field = 0 145 | ij_typescript_blank_lines_around_field_in_interface = 0 146 | ij_typescript_blank_lines_around_function = 1 147 | ij_typescript_blank_lines_around_method = 1 148 | ij_typescript_blank_lines_around_method_in_interface = 1 149 | ij_typescript_block_brace_style = end_of_line 150 | ij_typescript_block_comment_add_space = false 151 | ij_typescript_block_comment_at_first_column = true 152 | ij_typescript_call_parameters_new_line_after_left_paren = false 153 | ij_typescript_call_parameters_right_paren_on_new_line = false 154 | ij_typescript_call_parameters_wrap = off 155 | ij_typescript_catch_on_new_line = false 156 | ij_typescript_chained_call_dot_on_new_line = true 157 | ij_typescript_class_brace_style = next_line 158 | ij_typescript_class_decorator_wrap = split_into_lines 159 | ij_typescript_class_field_decorator_wrap = off 160 | ij_typescript_class_method_decorator_wrap = off 161 | ij_typescript_comma_on_new_line = false 162 | ij_typescript_do_while_brace_force = never 163 | ij_typescript_else_on_new_line = false 164 | ij_typescript_enforce_trailing_comma = remove 165 | ij_typescript_enum_constants_wrap = on_every_item 166 | ij_typescript_extends_keyword_wrap = off 167 | ij_typescript_extends_list_wrap = off 168 | ij_typescript_field_prefix = _ 169 | ij_typescript_file_name_style = relaxed 170 | ij_typescript_finally_on_new_line = false 171 | ij_typescript_for_brace_force = never 172 | ij_typescript_for_statement_new_line_after_left_paren = false 173 | ij_typescript_for_statement_right_paren_on_new_line = false 174 | ij_typescript_for_statement_wrap = off 175 | ij_typescript_force_quote_style = true 176 | ij_typescript_force_semicolon_style = true 177 | ij_typescript_function_expression_brace_style = end_of_line 178 | ij_typescript_function_parameter_decorator_wrap = off 179 | ij_typescript_if_brace_force = never 180 | ij_typescript_import_merge_members = global 181 | ij_typescript_import_prefer_absolute_path = global 182 | ij_typescript_import_sort_members = true 183 | ij_typescript_import_sort_module_name = false 184 | ij_typescript_import_use_node_resolution = true 185 | ij_typescript_imports_wrap = on_every_item 186 | ij_typescript_indent_case_from_switch = true 187 | ij_typescript_indent_chained_calls = true 188 | ij_typescript_indent_package_children = 0 189 | ij_typescript_jsdoc_include_types = false 190 | ij_typescript_jsx_attribute_value = braces 191 | ij_typescript_keep_blank_lines_in_code = 1 192 | ij_typescript_keep_first_column_comment = true 193 | ij_typescript_keep_indents_on_empty_lines = false 194 | ij_typescript_keep_line_breaks = true 195 | ij_typescript_keep_simple_blocks_in_one_line = false 196 | ij_typescript_keep_simple_methods_in_one_line = false 197 | ij_typescript_line_comment_add_space = true 198 | ij_typescript_line_comment_at_first_column = false 199 | ij_typescript_method_brace_style = next_line 200 | ij_typescript_method_call_chain_wrap = off 201 | ij_typescript_method_parameters_new_line_after_left_paren = false 202 | ij_typescript_method_parameters_right_paren_on_new_line = false 203 | ij_typescript_method_parameters_wrap = off 204 | ij_typescript_object_literal_wrap = on_every_item 205 | ij_typescript_object_types_wrap = on_every_item 206 | ij_typescript_parentheses_expression_new_line_after_left_paren = false 207 | ij_typescript_parentheses_expression_right_paren_on_new_line = false 208 | ij_typescript_place_assignment_sign_on_next_line = false 209 | ij_typescript_prefer_as_type_cast = false 210 | ij_typescript_prefer_explicit_types_function_expression_returns = false 211 | ij_typescript_prefer_explicit_types_function_returns = false 212 | ij_typescript_prefer_explicit_types_vars_fields = false 213 | ij_typescript_prefer_parameters_wrap = false 214 | ij_typescript_property_prefix = 215 | ij_typescript_reformat_c_style_comments = false 216 | ij_typescript_space_after_colon = true 217 | ij_typescript_space_after_comma = true 218 | ij_typescript_space_after_dots_in_rest_parameter = false 219 | ij_typescript_space_after_generator_mult = true 220 | ij_typescript_space_after_property_colon = true 221 | ij_typescript_space_after_quest = true 222 | ij_typescript_space_after_type_colon = true 223 | ij_typescript_space_after_unary_not = true 224 | ij_typescript_space_before_async_arrow_lparen = true 225 | ij_typescript_space_before_catch_keyword = true 226 | ij_typescript_space_before_catch_left_brace = true 227 | ij_typescript_space_before_catch_parentheses = true 228 | ij_typescript_space_before_class_lbrace = true 229 | ij_typescript_space_before_class_left_brace = true 230 | ij_typescript_space_before_colon = true 231 | ij_typescript_space_before_comma = false 232 | ij_typescript_space_before_do_left_brace = true 233 | ij_typescript_space_before_else_keyword = true 234 | ij_typescript_space_before_else_left_brace = true 235 | ij_typescript_space_before_finally_keyword = true 236 | ij_typescript_space_before_finally_left_brace = true 237 | ij_typescript_space_before_for_left_brace = true 238 | ij_typescript_space_before_for_parentheses = true 239 | ij_typescript_space_before_for_semicolon = false 240 | ij_typescript_space_before_function_left_parenth = true 241 | ij_typescript_space_before_generator_mult = false 242 | ij_typescript_space_before_if_left_brace = true 243 | ij_typescript_space_before_if_parentheses = true 244 | ij_typescript_space_before_method_call_parentheses = false 245 | ij_typescript_space_before_method_left_brace = true 246 | ij_typescript_space_before_method_parentheses = false 247 | ij_typescript_space_before_property_colon = false 248 | ij_typescript_space_before_quest = true 249 | ij_typescript_space_before_switch_left_brace = true 250 | ij_typescript_space_before_switch_parentheses = true 251 | ij_typescript_space_before_try_left_brace = true 252 | ij_typescript_space_before_type_colon = false 253 | ij_typescript_space_before_unary_not = false 254 | ij_typescript_space_before_while_keyword = true 255 | ij_typescript_space_before_while_left_brace = true 256 | ij_typescript_space_before_while_parentheses = true 257 | ij_typescript_spaces_around_additive_operators = true 258 | ij_typescript_spaces_around_arrow_function_operator = true 259 | ij_typescript_spaces_around_assignment_operators = true 260 | ij_typescript_spaces_around_bitwise_operators = true 261 | ij_typescript_spaces_around_equality_operators = true 262 | ij_typescript_spaces_around_logical_operators = true 263 | ij_typescript_spaces_around_multiplicative_operators = true 264 | ij_typescript_spaces_around_relational_operators = true 265 | ij_typescript_spaces_around_shift_operators = true 266 | ij_typescript_spaces_around_unary_operator = false 267 | ij_typescript_spaces_within_array_initializer_brackets = false 268 | ij_typescript_spaces_within_brackets = false 269 | ij_typescript_spaces_within_catch_parentheses = false 270 | ij_typescript_spaces_within_for_parentheses = false 271 | ij_typescript_spaces_within_if_parentheses = false 272 | ij_typescript_spaces_within_imports = true 273 | ij_typescript_spaces_within_interpolation_expressions = true 274 | ij_typescript_spaces_within_method_call_parentheses = false 275 | ij_typescript_spaces_within_method_parentheses = false 276 | ij_typescript_spaces_within_object_literal_braces = true 277 | ij_typescript_spaces_within_object_type_braces = true 278 | ij_typescript_spaces_within_parentheses = false 279 | ij_typescript_spaces_within_switch_parentheses = false 280 | ij_typescript_spaces_within_type_assertion = false 281 | ij_typescript_spaces_within_union_types = true 282 | ij_typescript_spaces_within_while_parentheses = false 283 | ij_typescript_special_else_if_treatment = true 284 | ij_typescript_ternary_operation_signs_on_next_line = false 285 | ij_typescript_ternary_operation_wrap = off 286 | ij_typescript_union_types_wrap = on_every_item 287 | ij_typescript_use_chained_calls_group_indents = false 288 | ij_typescript_use_double_quotes = false 289 | ij_typescript_use_explicit_js_extension = auto 290 | ij_typescript_use_import_type = auto 291 | ij_typescript_use_path_mapping = always 292 | ij_typescript_use_public_modifier = false 293 | ij_typescript_use_semicolon_after_statement = false 294 | ij_typescript_var_declaration_wrap = normal 295 | ij_typescript_while_brace_force = never 296 | ij_typescript_while_on_new_line = false 297 | ij_typescript_wrap_comments = false 298 | 299 | [{*.cjs,*.es6,*.js,*.mjs}] 300 | ij_continuation_indent_size = 4 301 | ij_javascript_align_imports = false 302 | ij_javascript_align_multiline_array_initializer_expression = false 303 | ij_javascript_align_multiline_binary_operation = false 304 | ij_javascript_align_multiline_chained_methods = false 305 | ij_javascript_align_multiline_extends_list = false 306 | ij_javascript_align_multiline_for = true 307 | ij_javascript_align_multiline_parameters = true 308 | ij_javascript_align_multiline_parameters_in_calls = false 309 | ij_javascript_align_multiline_ternary_operation = false 310 | ij_javascript_align_object_properties = 0 311 | ij_javascript_align_union_types = false 312 | ij_javascript_align_var_statements = 1 313 | ij_javascript_array_initializer_new_line_after_left_brace = true 314 | ij_javascript_array_initializer_right_brace_on_new_line = true 315 | ij_javascript_array_initializer_wrap = on_every_item 316 | ij_javascript_assignment_wrap = off 317 | ij_javascript_binary_operation_sign_on_next_line = false 318 | ij_javascript_binary_operation_wrap = off 319 | ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** 320 | ij_javascript_blank_lines_after_imports = 1 321 | ij_javascript_blank_lines_around_class = 1 322 | ij_javascript_blank_lines_around_field = 0 323 | ij_javascript_blank_lines_around_function = 1 324 | ij_javascript_blank_lines_around_method = 1 325 | ij_javascript_block_brace_style = end_of_line 326 | ij_javascript_block_comment_add_space = false 327 | ij_javascript_block_comment_at_first_column = true 328 | ij_javascript_call_parameters_new_line_after_left_paren = false 329 | ij_javascript_call_parameters_right_paren_on_new_line = false 330 | ij_javascript_call_parameters_wrap = off 331 | ij_javascript_catch_on_new_line = false 332 | ij_javascript_chained_call_dot_on_new_line = true 333 | ij_javascript_class_brace_style = next_line 334 | ij_javascript_class_decorator_wrap = split_into_lines 335 | ij_javascript_class_field_decorator_wrap = off 336 | ij_javascript_class_method_decorator_wrap = off 337 | ij_javascript_comma_on_new_line = false 338 | ij_javascript_do_while_brace_force = never 339 | ij_javascript_else_on_new_line = false 340 | ij_javascript_enforce_trailing_comma = remove 341 | ij_javascript_extends_keyword_wrap = off 342 | ij_javascript_extends_list_wrap = off 343 | ij_javascript_field_prefix = _ 344 | ij_javascript_file_name_style = lisp_case 345 | ij_javascript_finally_on_new_line = false 346 | ij_javascript_for_brace_force = never 347 | ij_javascript_for_statement_new_line_after_left_paren = false 348 | ij_javascript_for_statement_right_paren_on_new_line = false 349 | ij_javascript_for_statement_wrap = off 350 | ij_javascript_force_quote_style = true 351 | ij_javascript_force_semicolon_style = true 352 | ij_javascript_function_expression_brace_style = end_of_line 353 | ij_javascript_function_parameter_decorator_wrap = off 354 | ij_javascript_if_brace_force = never 355 | ij_javascript_import_merge_members = global 356 | ij_javascript_import_prefer_absolute_path = true 357 | ij_javascript_import_sort_members = true 358 | ij_javascript_import_sort_module_name = false 359 | ij_javascript_import_use_node_resolution = true 360 | ij_javascript_imports_wrap = on_every_item 361 | ij_javascript_indent_case_from_switch = true 362 | ij_javascript_indent_chained_calls = true 363 | ij_javascript_indent_package_children = 0 364 | ij_javascript_jsx_attribute_value = braces 365 | ij_javascript_keep_blank_lines_in_code = 1 366 | ij_javascript_keep_first_column_comment = true 367 | ij_javascript_keep_indents_on_empty_lines = false 368 | ij_javascript_keep_line_breaks = true 369 | ij_javascript_keep_simple_blocks_in_one_line = false 370 | ij_javascript_keep_simple_methods_in_one_line = false 371 | ij_javascript_line_comment_add_space = false 372 | ij_javascript_line_comment_at_first_column = false 373 | ij_javascript_method_brace_style = end_of_line 374 | ij_javascript_method_call_chain_wrap = off 375 | ij_javascript_method_parameters_new_line_after_left_paren = false 376 | ij_javascript_method_parameters_right_paren_on_new_line = false 377 | ij_javascript_method_parameters_wrap = off 378 | ij_javascript_object_literal_wrap = on_every_item 379 | ij_javascript_object_types_wrap = on_every_item 380 | ij_javascript_parentheses_expression_new_line_after_left_paren = false 381 | ij_javascript_parentheses_expression_right_paren_on_new_line = false 382 | ij_javascript_place_assignment_sign_on_next_line = false 383 | ij_javascript_prefer_as_type_cast = false 384 | ij_javascript_prefer_explicit_types_function_expression_returns = false 385 | ij_javascript_prefer_explicit_types_function_returns = false 386 | ij_javascript_prefer_explicit_types_vars_fields = false 387 | ij_javascript_prefer_parameters_wrap = false 388 | ij_javascript_property_prefix = 389 | ij_javascript_reformat_c_style_comments = false 390 | ij_javascript_space_after_colon = true 391 | ij_javascript_space_after_comma = true 392 | ij_javascript_space_after_dots_in_rest_parameter = false 393 | ij_javascript_space_after_generator_mult = true 394 | ij_javascript_space_after_property_colon = true 395 | ij_javascript_space_after_quest = true 396 | ij_javascript_space_after_type_colon = true 397 | ij_javascript_space_after_unary_not = true 398 | ij_javascript_space_before_async_arrow_lparen = true 399 | ij_javascript_space_before_catch_keyword = true 400 | ij_javascript_space_before_catch_left_brace = true 401 | ij_javascript_space_before_catch_parentheses = true 402 | ij_javascript_space_before_class_lbrace = true 403 | ij_javascript_space_before_class_left_brace = true 404 | ij_javascript_space_before_colon = true 405 | ij_javascript_space_before_comma = false 406 | ij_javascript_space_before_do_left_brace = true 407 | ij_javascript_space_before_else_keyword = true 408 | ij_javascript_space_before_else_left_brace = true 409 | ij_javascript_space_before_finally_keyword = true 410 | ij_javascript_space_before_finally_left_brace = true 411 | ij_javascript_space_before_for_left_brace = true 412 | ij_javascript_space_before_for_parentheses = true 413 | ij_javascript_space_before_for_semicolon = false 414 | ij_javascript_space_before_function_left_parenth = true 415 | ij_javascript_space_before_generator_mult = false 416 | ij_javascript_space_before_if_left_brace = true 417 | ij_javascript_space_before_if_parentheses = true 418 | ij_javascript_space_before_method_call_parentheses = false 419 | ij_javascript_space_before_method_left_brace = true 420 | ij_javascript_space_before_method_parentheses = false 421 | ij_javascript_space_before_property_colon = false 422 | ij_javascript_space_before_quest = true 423 | ij_javascript_space_before_switch_left_brace = true 424 | ij_javascript_space_before_switch_parentheses = true 425 | ij_javascript_space_before_try_left_brace = true 426 | ij_javascript_space_before_type_colon = false 427 | ij_javascript_space_before_unary_not = false 428 | ij_javascript_space_before_while_keyword = true 429 | ij_javascript_space_before_while_left_brace = true 430 | ij_javascript_space_before_while_parentheses = true 431 | ij_javascript_spaces_around_additive_operators = true 432 | ij_javascript_spaces_around_arrow_function_operator = true 433 | ij_javascript_spaces_around_assignment_operators = true 434 | ij_javascript_spaces_around_bitwise_operators = true 435 | ij_javascript_spaces_around_equality_operators = true 436 | ij_javascript_spaces_around_logical_operators = true 437 | ij_javascript_spaces_around_multiplicative_operators = true 438 | ij_javascript_spaces_around_relational_operators = true 439 | ij_javascript_spaces_around_shift_operators = true 440 | ij_javascript_spaces_around_unary_operator = false 441 | ij_javascript_spaces_within_array_initializer_brackets = false 442 | ij_javascript_spaces_within_brackets = false 443 | ij_javascript_spaces_within_catch_parentheses = false 444 | ij_javascript_spaces_within_for_parentheses = false 445 | ij_javascript_spaces_within_if_parentheses = false 446 | ij_javascript_spaces_within_imports = true 447 | ij_javascript_spaces_within_interpolation_expressions = true 448 | ij_javascript_spaces_within_method_call_parentheses = false 449 | ij_javascript_spaces_within_method_parentheses = false 450 | ij_javascript_spaces_within_object_literal_braces = true 451 | ij_javascript_spaces_within_object_type_braces = true 452 | ij_javascript_spaces_within_parentheses = false 453 | ij_javascript_spaces_within_switch_parentheses = false 454 | ij_javascript_spaces_within_type_assertion = false 455 | ij_javascript_spaces_within_union_types = true 456 | ij_javascript_spaces_within_while_parentheses = false 457 | ij_javascript_special_else_if_treatment = true 458 | ij_javascript_ternary_operation_signs_on_next_line = false 459 | ij_javascript_ternary_operation_wrap = off 460 | ij_javascript_union_types_wrap = on_every_item 461 | ij_javascript_use_chained_calls_group_indents = false 462 | ij_javascript_use_double_quotes = false 463 | ij_javascript_use_explicit_js_extension = auto 464 | ij_javascript_use_import_type = auto 465 | ij_javascript_use_path_mapping = always 466 | ij_javascript_use_public_modifier = false 467 | ij_javascript_use_semicolon_after_statement = false 468 | ij_javascript_var_declaration_wrap = on_every_item 469 | ij_javascript_while_brace_force = never 470 | ij_javascript_while_on_new_line = false 471 | ij_javascript_wrap_comments = false 472 | 473 | [{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml,*.stub}] 474 | ij_continuation_indent_size = 4 475 | ij_php_align_assignments = true 476 | ij_php_align_class_constants = true 477 | ij_php_align_enum_cases = true 478 | ij_php_align_group_field_declarations = false 479 | ij_php_align_inline_comments = false 480 | ij_php_align_key_value_pairs = true 481 | ij_php_align_match_arm_bodies = true 482 | ij_php_align_multiline_array_initializer_expression = true 483 | ij_php_align_multiline_binary_operation = false 484 | ij_php_align_multiline_chained_methods = false 485 | ij_php_align_multiline_extends_list = true 486 | ij_php_align_multiline_for = false 487 | ij_php_align_multiline_parameters = false 488 | ij_php_align_multiline_parameters_in_calls = false 489 | ij_php_align_multiline_ternary_operation = false 490 | ij_php_align_named_arguments = true 491 | ij_php_align_phpdoc_comments = false 492 | ij_php_align_phpdoc_param_names = false 493 | ij_php_anonymous_brace_style = end_of_line 494 | ij_php_api_weight = 28 495 | ij_php_array_initializer_new_line_after_left_brace = true 496 | ij_php_array_initializer_right_brace_on_new_line = true 497 | ij_php_array_initializer_wrap = normal 498 | ij_php_assignment_wrap = on_every_item 499 | ij_php_attributes_wrap = split_into_lines 500 | ij_php_author_weight = 3 501 | ij_php_binary_operation_sign_on_next_line = true 502 | ij_php_binary_operation_wrap = on_every_item 503 | ij_php_blank_lines_after_class_header = 0 504 | ij_php_blank_lines_after_function = 1 505 | ij_php_blank_lines_after_imports = 1 506 | ij_php_blank_lines_after_opening_tag = 1 507 | ij_php_blank_lines_after_package = 1 508 | ij_php_blank_lines_around_class = 1 509 | ij_php_blank_lines_around_constants = 0 510 | ij_php_blank_lines_around_enum_cases = 0 511 | ij_php_blank_lines_around_field = 1 512 | ij_php_blank_lines_around_method = 1 513 | ij_php_blank_lines_before_class_end = 0 514 | ij_php_blank_lines_before_imports = 1 515 | ij_php_blank_lines_before_method_body = 0 516 | ij_php_blank_lines_before_package = 1 517 | ij_php_blank_lines_before_return_statement = 1 518 | ij_php_blank_lines_between_imports = 1 519 | ij_php_block_brace_style = end_of_line 520 | ij_php_call_parameters_new_line_after_left_paren = true 521 | ij_php_call_parameters_right_paren_on_new_line = true 522 | ij_php_call_parameters_wrap = on_every_item 523 | ij_php_catch_on_new_line = false 524 | ij_php_category_weight = 28 525 | ij_php_class_brace_style = next_line 526 | ij_php_comma_after_last_argument = false 527 | ij_php_comma_after_last_argument_style = when_multiline 528 | ij_php_comma_after_last_array_element = true 529 | ij_php_comma_after_last_closure_use_var = false 530 | ij_php_comma_after_last_closure_use_var_style = when_multiline 531 | ij_php_comma_after_last_match_arm = true 532 | ij_php_comma_after_last_parameter = false 533 | ij_php_comma_after_last_parameter_style = when_multiline 534 | ij_php_concat_spaces = true 535 | ij_php_copyright_weight = 4 536 | ij_php_deprecated_weight = 0 537 | ij_php_do_while_brace_force = always 538 | ij_php_else_if_style = combine 539 | ij_php_else_on_new_line = false 540 | ij_php_example_weight = 28 541 | ij_php_extends_keyword_wrap = normal 542 | ij_php_extends_list_wrap = on_every_item 543 | ij_php_fields_default_visibility = protected 544 | ij_php_filesource_weight = 28 545 | ij_php_finally_on_new_line = true 546 | ij_php_for_brace_force = always 547 | ij_php_for_statement_new_line_after_left_paren = false 548 | ij_php_for_statement_right_paren_on_new_line = false 549 | ij_php_for_statement_wrap = normal 550 | ij_php_force_empty_classes_in_one_line = true 551 | ij_php_force_empty_methods_in_one_line = true 552 | ij_php_force_short_declaration_array_style = true 553 | ij_php_getters_setters_naming_style = camel_case 554 | ij_php_getters_setters_order_style = getters_first 555 | ij_php_global_weight = 28 556 | ij_php_group_use_wrap = on_every_item 557 | ij_php_heredoc_on_same_line = false 558 | ij_php_if_brace_force = always 559 | ij_php_if_lparen_on_next_line = true 560 | ij_php_if_rparen_on_next_line = true 561 | ij_php_ignore_weight = 28 562 | ij_php_import_sorting = alphabetic 563 | ij_php_indent_break_from_case = true 564 | ij_php_indent_case_from_switch = true 565 | ij_php_indent_code_in_php_tags = false 566 | ij_php_internal_weight = 1 567 | ij_php_keep_blank_lines_after_lbrace = 1 568 | ij_php_keep_blank_lines_before_right_brace = 0 569 | ij_php_keep_blank_lines_in_code = 1 570 | ij_php_keep_blank_lines_in_declarations = 0 571 | ij_php_keep_control_statement_in_one_line = false 572 | ij_php_keep_first_column_comment = false 573 | ij_php_keep_indents_on_empty_lines = false 574 | ij_php_keep_line_breaks = true 575 | ij_php_keep_rparen_and_lbrace_on_one_line = true 576 | ij_php_keep_simple_classes_in_one_line = true 577 | ij_php_keep_simple_methods_in_one_line = true 578 | ij_php_lambda_brace_style = end_of_line 579 | ij_php_license_weight = 5 580 | ij_php_line_comment_add_space = false 581 | ij_php_line_comment_at_first_column = false 582 | ij_php_link_weight = 7 583 | ij_php_lower_case_boolean_const = true 584 | ij_php_lower_case_keywords = true 585 | ij_php_lower_case_null_const = true 586 | ij_php_method_brace_style = next_line 587 | ij_php_method_call_chain_wrap = on_every_item 588 | ij_php_method_parameters_new_line_after_left_paren = true 589 | ij_php_method_parameters_right_paren_on_new_line = true 590 | ij_php_method_parameters_wrap = on_every_item 591 | ij_php_method_weight = 13 592 | ij_php_modifier_list_wrap = false 593 | ij_php_multiline_chained_calls_first_call_on_new_line = false 594 | ij_php_multiline_chained_calls_semicolon_on_new_line = false 595 | ij_php_multiline_closure_lambda_on_new_line = false 596 | ij_php_namespace_brace_style = 2 597 | ij_php_new_line_after_php_opening_tag = true 598 | ij_php_null_type_position = in_the_end 599 | ij_php_package_weight = 28 600 | ij_php_param_weight = 9 601 | ij_php_parameters_attributes_wrap = split_into_lines 602 | ij_php_parentheses_expression_new_line_after_left_paren = false 603 | ij_php_parentheses_expression_right_paren_on_new_line = false 604 | ij_php_phpdoc_blank_line_before_tags = true 605 | ij_php_phpdoc_blank_lines_around_parameters = true 606 | ij_php_phpdoc_keep_blank_lines = true 607 | ij_php_phpdoc_param_spaces_between_name_and_description = 2 608 | ij_php_phpdoc_param_spaces_between_tag_and_type = 2 609 | ij_php_phpdoc_param_spaces_between_type_and_name = 2 610 | ij_php_phpdoc_use_fqcn = true 611 | ij_php_phpdoc_wrap_long_lines = true 612 | ij_php_place_assignment_sign_on_next_line = false 613 | ij_php_place_parens_for_constructor = 2 614 | ij_php_property_read_weight = 11 615 | ij_php_property_weight = 10 616 | ij_php_property_write_weight = 12 617 | ij_php_return_type_on_new_line = false 618 | ij_php_return_weight = 15 619 | ij_php_see_weight = 6 620 | ij_php_since_weight = 2 621 | ij_php_sort_phpdoc_elements = true 622 | ij_php_space_after_colon = true 623 | ij_php_space_after_colon_in_enum_backed_type = true 624 | ij_php_space_after_colon_in_named_argument = true 625 | ij_php_space_after_colon_in_return_type = true 626 | ij_php_space_after_comma = true 627 | ij_php_space_after_for_semicolon = true 628 | ij_php_space_after_quest = true 629 | ij_php_space_after_type_cast = true 630 | ij_php_space_after_unary_not = true 631 | ij_php_space_before_array_initializer_left_brace = true 632 | ij_php_space_before_catch_keyword = true 633 | ij_php_space_before_catch_left_brace = true 634 | ij_php_space_before_catch_parentheses = true 635 | ij_php_space_before_class_left_brace = true 636 | ij_php_space_before_closure_left_parenthesis = true 637 | ij_php_space_before_colon = true 638 | ij_php_space_before_colon_in_enum_backed_type = false 639 | ij_php_space_before_colon_in_named_argument = false 640 | ij_php_space_before_colon_in_return_type = false 641 | ij_php_space_before_comma = false 642 | ij_php_space_before_do_left_brace = true 643 | ij_php_space_before_else_keyword = true 644 | ij_php_space_before_else_left_brace = true 645 | ij_php_space_before_finally_keyword = true 646 | ij_php_space_before_finally_left_brace = true 647 | ij_php_space_before_for_left_brace = true 648 | ij_php_space_before_for_parentheses = true 649 | ij_php_space_before_for_semicolon = false 650 | ij_php_space_before_if_left_brace = true 651 | ij_php_space_before_if_parentheses = true 652 | ij_php_space_before_method_call_parentheses = false 653 | ij_php_space_before_method_left_brace = true 654 | ij_php_space_before_method_parentheses = false 655 | ij_php_space_before_quest = true 656 | ij_php_space_before_short_closure_left_parenthesis = true 657 | ij_php_space_before_switch_left_brace = true 658 | ij_php_space_before_switch_parentheses = true 659 | ij_php_space_before_try_left_brace = true 660 | ij_php_space_before_unary_not = false 661 | ij_php_space_before_while_keyword = true 662 | ij_php_space_before_while_left_brace = true 663 | ij_php_space_before_while_parentheses = true 664 | ij_php_space_between_ternary_quest_and_colon = false 665 | ij_php_spaces_around_additive_operators = true 666 | ij_php_spaces_around_arrow = false 667 | ij_php_spaces_around_assignment_in_declare = false 668 | ij_php_spaces_around_assignment_operators = true 669 | ij_php_spaces_around_bitwise_operators = true 670 | ij_php_spaces_around_equality_operators = true 671 | ij_php_spaces_around_logical_operators = true 672 | ij_php_spaces_around_multiplicative_operators = true 673 | ij_php_spaces_around_null_coalesce_operator = true 674 | ij_php_spaces_around_pipe_in_union_type = false 675 | ij_php_spaces_around_relational_operators = true 676 | ij_php_spaces_around_shift_operators = true 677 | ij_php_spaces_around_unary_operator = false 678 | ij_php_spaces_around_var_within_brackets = false 679 | ij_php_spaces_within_array_initializer_braces = false 680 | ij_php_spaces_within_brackets = false 681 | ij_php_spaces_within_catch_parentheses = false 682 | ij_php_spaces_within_for_parentheses = false 683 | ij_php_spaces_within_if_parentheses = false 684 | ij_php_spaces_within_method_call_parentheses = false 685 | ij_php_spaces_within_method_parentheses = false 686 | ij_php_spaces_within_parentheses = false 687 | ij_php_spaces_within_short_echo_tags = true 688 | ij_php_spaces_within_switch_parentheses = false 689 | ij_php_spaces_within_while_parentheses = false 690 | ij_php_special_else_if_treatment = true 691 | ij_php_subpackage_weight = 28 692 | ij_php_ternary_operation_signs_on_next_line = true 693 | ij_php_ternary_operation_wrap = on_every_item 694 | ij_php_throws_weight = 14 695 | ij_php_todo_weight = 28 696 | ij_php_treat_multiline_arrays_and_lambdas_multiline = false 697 | ij_php_unknown_tag_weight = 28 698 | ij_php_upper_case_boolean_const = false 699 | ij_php_upper_case_null_const = false 700 | ij_php_uses_weight = 28 701 | ij_php_var_weight = 28 702 | ij_php_variable_naming_style = camel_case 703 | ij_php_version_weight = 8 704 | ij_php_while_brace_force = always 705 | ij_php_while_on_new_line = false 706 | 707 | [{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,.ws-context,composer.lock,jest.config}] 708 | ij_continuation_indent_size = 4 709 | ij_json_array_wrapping = on_every_item 710 | ij_json_keep_blank_lines_in_code = 1 711 | ij_json_keep_indents_on_empty_lines = false 712 | ij_json_keep_line_breaks = true 713 | ij_json_keep_trailing_comma = false 714 | ij_json_object_wrapping = on_every_item 715 | ij_json_property_alignment = do_not_align 716 | ij_json_space_after_colon = true 717 | ij_json_space_after_comma = true 718 | ij_json_space_before_colon = false 719 | ij_json_space_before_comma = false 720 | ij_json_spaces_within_braces = true 721 | ij_json_spaces_within_brackets = false 722 | ij_json_wrap_long_lines = false 723 | 724 | [{*.htm,*.html,*.sht,*.shtm,*.shtml}] 725 | ij_continuation_indent_size = 4 726 | ij_visual_guides = 160 727 | ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3 728 | ij_html_align_attributes = false 729 | ij_html_align_text = false 730 | ij_html_attribute_wrap = on_every_item 731 | ij_html_block_comment_add_space = false 732 | ij_html_block_comment_at_first_column = true 733 | ij_html_do_not_align_children_of_min_lines = 0 734 | ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p 735 | ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot 736 | ij_html_enforce_quotes = true 737 | ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var 738 | ij_html_keep_blank_lines = 2 739 | ij_html_keep_indents_on_empty_lines = false 740 | ij_html_keep_line_breaks = true 741 | ij_html_keep_line_breaks_in_text = true 742 | ij_html_keep_whitespaces = false 743 | ij_html_keep_whitespaces_inside = span,pre,textarea 744 | ij_html_line_comment_at_first_column = true 745 | ij_html_new_line_after_last_attribute = never 746 | ij_html_new_line_before_first_attribute = when_multiline 747 | ij_html_quote_style = double 748 | ij_html_remove_new_line_before_tags = br 749 | ij_html_space_after_tag_name = false 750 | ij_html_space_around_equality_in_attribute = false 751 | ij_html_space_inside_empty_tag = true 752 | ij_html_text_wrap = off 753 | 754 | [{*.http,*.rest}] 755 | ij_continuation_indent_size = 4 756 | ij_http-request_call_parameters_wrap = on_every_item 757 | ij_http-request_method_parameters_wrap = split_into_lines 758 | ij_http-request_space_before_comma = true 759 | ij_http-request_spaces_around_assignment_operators = true 760 | 761 | [{*.markdown,*.md}] 762 | ij_markdown_force_one_space_after_blockquote_symbol = true 763 | ij_markdown_force_one_space_after_header_symbol = true 764 | ij_markdown_force_one_space_after_list_bullet = true 765 | ij_markdown_force_one_space_between_words = true 766 | ij_markdown_format_tables = true 767 | ij_markdown_insert_quote_arrows_on_wrap = true 768 | ij_markdown_keep_indents_on_empty_lines = false 769 | ij_markdown_keep_line_breaks_inside_text_blocks = true 770 | ij_markdown_max_lines_around_block_elements = 1 771 | ij_markdown_max_lines_around_header = 1 772 | ij_markdown_max_lines_between_paragraphs = 1 773 | ij_markdown_min_lines_around_block_elements = 1 774 | ij_markdown_min_lines_around_header = 2 775 | ij_markdown_min_lines_between_paragraphs = 1 776 | ij_markdown_wrap_text_if_long = true 777 | ij_markdown_wrap_text_inside_blockquotes = true 778 | 779 | [{*.yaml,*.yml}] 780 | ij_yaml_align_values_properties = do_not_align 781 | ij_yaml_autoinsert_sequence_marker = true 782 | ij_yaml_block_mapping_on_new_line = false 783 | ij_yaml_indent_sequence_value = true 784 | ij_yaml_keep_indents_on_empty_lines = false 785 | ij_yaml_keep_line_breaks = true 786 | ij_yaml_line_comment_add_space = false 787 | ij_yaml_line_comment_add_space_on_reformat = false 788 | ij_yaml_line_comment_at_first_column = true 789 | ij_yaml_sequence_on_new_line = true 790 | ij_yaml_space_before_colon = false 791 | ij_yaml_spaces_within_braces = true 792 | ij_yaml_spaces_within_brackets = true 793 | --------------------------------------------------------------------------------