File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,31 @@ Instead, make the inheritance explicit::
107107 # setting1 is inherited
108108 setting2 = 2
109109
110+ Defining Aspects and Tastes
111+ ---------------------------
112+
113+ Aspects is an alternative way to configure coala. In this mode, we don't need
114+ to explicitly state list of bears, coala will choose it automatically based on
115+ requested aspects in coafile. To run coala in this mode, we need to define
116+ `aspects `, `files `, `languages `, and optionally aspect tastes setting. See
117+ the following example::
118+
119+ [all]
120+ files = **
121+ aspects = aspectname1, AspectName2 # case-insensitive
122+ # defining an aspect's taste
123+ aspectname1:aspect_taste = 80
124+ # we can define subaspect taste through its parent
125+ aspectname1:subaspect_taste = word1, word2, word3
126+
127+ [all.python]
128+ files = **.py
129+ language = Python
130+ # appending additional aspect
131+ aspects += aspectname3
132+ # excluding certain subaspect
133+ excludes = AspectName2Subaspect
134+
110135Comments, Escaping and Multiline Values and Keys
111136~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112137
You can’t perform that action at this time.
0 commit comments