feat/upgrade-analysis #228
| @ -586,4 +586,4 @@ new_version.sh | ||||
| example/ | ||||
| build/ | ||||
| *.iml | ||||
| 
 | ||||
| tool/ | ||||
|  | ||||
| @ -117,7 +117,7 @@ To indicate your project is using `wyatt_analysis` → [![style: wyatt analysis] | ||||
| When you want to create a new version of the plugin. Before any modification, execute the following command to create new files: | ||||
| 
 | ||||
| ```sh | ||||
| ./tools/new_version.sh <version> | ||||
| ./tool/new_version.sh <version> | ||||
| ``` | ||||
| 
 | ||||
| The previous version is automatically retrieved from the `pubspec.yaml` file. | ||||
| @ -136,7 +136,7 @@ And update the following files: | ||||
| Then, you can use the following command to retrieve latest available lints from the official linter. | ||||
| 
 | ||||
| ```sh | ||||
| ./tools/check_rules.sh | ||||
| ./tool/check_rules.sh | ||||
| ``` | ||||
| 
 | ||||
| After that, you can modify the files `lib/analysis_options.<version>.yaml` and `lib/analysis_options.flutter.<version>.yaml` to add new lints or remove some. | ||||
| @ -144,17 +144,17 @@ After that, you can modify the files `lib/analysis_options.<version>.yaml` and ` | ||||
| Then you can sort the lints with the following command: | ||||
| 
 | ||||
| ```sh | ||||
| ./tools/sort_rules.sh | ||||
| ./tool/sort_rules.sh | ||||
| ``` | ||||
| 
 | ||||
| Finally, you can generate the changelog with the following command: | ||||
| 
 | ||||
| ```sh | ||||
| ./tools/generate_changelog.sh <old_version> | ||||
| ./tool/generate_changelog.sh <old_version> | ||||
| ``` | ||||
| 
 | ||||
| The new version is automatically retrieved from the `pubspec.yaml` file. But **you have to specify** the previous version. | ||||
| 
 | ||||
| ## Notes | ||||
| 
 | ||||
| You can explore every lint rules [here](https://dart.dev/tools/linter-rules). | ||||
| You can explore every lint rules [here](https://dart.dev/tool/linter-rules). | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user