@nativescript/tslint-rules
                        
                        
                            A set of TSLint rules for NativeScript projects.
                        
                        
                        npm i --save @nativescript/tslint-rules
                    
                    - Version: 0.0.5
 - GitHub:
 - NPM: https://www.npmjs.com/package/%40nativescript%2Ftslint-rules
 - Downloads:
 - Last Day: 0
 - Last Week: 0
 - Last Month: 0
 
NativeScript TSLint Rules
This project contains tslint rules useful for NativeScript applications.
prefer-mapped-imports rule
Prefer using mapped paths when importing external modules or ES6 import declarations.
Note: This rule is intended for code-sharing NativeScript projects
Options
prefixspecifies the prefix for the mapped imports (usually "@src/").prefix-mapped-tospecifies folder that is mapped to the prefix (usually "src/").base-urlspecifies the base url of the typescript program (usually ".")`
Sample rule config (tslint.json):
"prefer-mapped-imports": [
    true,
    {
        "prefix": "@prefix/",
        "prefix-mapped-to": "src/",
        "base-url": "."
    }
]
Autofix
The rule will propose a fix if:
- Has all the configurations in the 
tslint.json - Used in typescript project with 
baseUrlandpathmappings for either web or mobile files. 
no-android-resources rule
The rule forbids using constants inside android.R as they cause performance issues.