Lines Matching full:lints
24 // Overarching principles for Rust lints on Android:
27 // lints, an allow exception is setup, using the variables below.
29 // The lints are split into two categories. The first one contains the built-in
30 // lints (https://doc.rust-lang.org/rustc/lints/index.html). The second is
31 // specific to Clippy lints (https://rust-lang.github.io/rust-clippy/master/).
34 // - "android", for the strictest lints that applies to all Android platform code.
40 // When developing a module, you may set `lints = "none"` and `clippy_lints =
44 // Default Rust lints that applies to Google-authored modules.
52 // Default Clippy lints. These are applied on top of defaultRustcLints.
66 // Rust lints for vendor code.
71 // Clippy lints for vendor source. These are applied on top of
83 "--cap-lints allow",
88 // Default Rust lints. These apply to all Google-authored modules.
102 // Rust lints that only applies to external code.
125 // lintConfig defines a set of lints and clippy configuration.
127 rustcConfig string // for the lints to apply to rustc.
129 clippyConfig string // for the lints to apply to clippy.
161 // ClippyLintsForDir returns a boolean if Clippy should be executed and if so, the lints to be used.
181 // RustcLintsForDir returns the standard lints to be used for a repository.
189 …return "", fmt.Errorf("unknown value for `lints`: %v, valid options are: default, android, vendor …