ianalyzer-test-app
v1.0.13
Published
A versatile code analysis tool for JavaScript, HTML, CSS, Angular, React, Vue, and ES6. iAnalyzer ensures code quality through linting, integrates with Sonar for in-depth analysis, performs npm package security checks, assesses performance, and enhances a
Downloads
18
Maintainers
Readme
Getting Started
Installation
To install iAnalyzer locally in your project, you need to run the below command:
- Use npm to install the iAnalyzer
whereas for global installation, the user needs to add '-g' to the above command.
Initialize iAnalyzer in your project
- Open your project in a terminal and run following command to get multiple configuration options
Execution
Run iAnalyzer in your project
- To perform linting in your project execute the below command.
Fix Lint issues (auto fixable) in your project
- To fix auto fixable lint issues in your project execute the below command.
Reports
- To generate a linting report execute below command.
Once the above command gets executed, Users can opt for a report format. Default selected report format is HTML
.
The linting report behavior can be modified through the below command, presented in .uxplinterrc file.
The linting behavior can be modified through the below command, presented in .uxplinterrc file.
Profile
By default, the package provides an 'essential' profile for linting. This profile has a limited set of rules.
Users can run ianalyzer-init
anytime for updating the profile.
Uninstall iAnalyzer
To remove a partial or complete package, run the ianalyzer-init
command and select an appropriate option.
Requirements
Node:
iAnalyzer only supports maintenance and LTS versions of Node.js. Please refer to the Node.js release schedule for more information. NPM versions installed by default with Node.js are supported.
| iAnalyzer Version | Recommended | Minimum | | --------------- | ----------- | ------- | | 2.0 | 16.x | 14.x |
ESLint:
| iAnalyzer Version | Recommended | Minimum | | --------------- | ----------- | ------- | | 2.0 | >=6.x.x | 6.x.x |
@babel/eslint-parser:
| iAnalyzer Version | Recommended | Minimum | | --------------- | ----------- | ------- | | 2.0 | Latest | 7.19.1 |
babel-eslint:
| iAnalyzer Version | Recommended | Minimum | | --------------- | ----------- | ------- | | 2.0 | 10.1.0 | 10.1.0 |
Features
Zero Configuration
Just install & it's ready to use!
No hassle of adding the .eslintrc configuration file or adding the required scripts in package.json to set up the analyzer. Just install the iAnalyzer, and everything is automatically configured with the installation. With the zero config setup, iAnalyzer provides the easiest way to enforce consistent styles in the codebase.
Linting Support
Looking for linting support?
iAnalyzer provides support for JavaScript, TypeScript,HTML and CSS linting.
Along with provides an option to choose the linter based on the project need. Just need to answer a question before installation and you are good to go.
Automatic code fixing
Need to automatically fix the linting errors?
Just run the command ianalyzer-fix & save your time to fix the liting errors automatically.
Automatic code formatting
Need to automatically format the code?
Just install Prettier and execute ianalyzer-run command to apply code formatting in the code.
Linting Report
Want to see linting reports or need to share with the team?
No worries! iAnalyzer provides the reports in different available formats, just a single update for the format in the scripts, and you get the linting report in the format of your choice.
Linting Profile
Afraid of linting, due to thousands of linting errors?
No worries! iAnalyzer offers the rules that define the best practices into namely 4 categories - Essential, Recommended, Sonar and Custom. It doesn’t enforce hundreds of rules on the codebase all at once, instead it offers us the flexibility to choose from the categories, and scale up as and when one feels comfortable with the existing category.
Roadmap
- SonarQube integration
- Staged file support for linting
- Performance testing
- Security testing
- Accessibility testing
- Frontend Dashboard
- Chrome extension
- VS code extension