lint-checks
lint-checks copied to clipboard
lint-checks
lint-checks is a project that contains custom Android Lint checks for frequently occurred mistakes we usually notice during our team's merge reviews. By applying these lint checks you don't need to care about the mistakes they can prevent.
It contains two set of Android Lint checks:
Common checkscontains mainly formatting specific rules for Java and Kotlin languages.Android checkscontains Android specific rules.
Integration
Get the latest artifact via gradle
implementation 'io.supercharge:lint-checks-common-rules:0.4.0'
implementation 'io.supercharge:lint-checks-android-rules:0.4.0'
or
lintChecks(
'io.supercharge:lint-checks-common-rules-pure:0.4.0',
'io.supercharge:lint-checks-android-rules-pure:0.4.0'
)
Inspiration
License
lint-checks is open source, contribution and feedback are welcome!
Copyright 2019 Supercharge
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.