1.0.1 • Published 6 months ago

ianalyzer v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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 on your project execute the below command.

Fix Lint issues (auto fixable) in your project

  • To auto fix linting issues on your project execute the below command.

The linting behavior can be modified through the below command, presented in .uxplinterrc file.

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 VersionRecommendedMinimum
2.016.x14.x

ESLint:

iAnalyzer VersionRecommendedMinimum
2.0>=6.x.x6.x.x

@babel/eslint-parser:

iAnalyzer VersionRecommendedMinimum
2.0Latest7.19.1

babel-eslint:

iAnalyzer VersionRecommendedMinimum
2.010.1.010.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.

    alt text

    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.

    alt text

  • 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.

    alt text

  • Automatic code formatting

    Need to automatically format the code?

    Just install Prettier and execute ianalyzer-run command to apply code formatting in the code.

    alt text

  • 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.

    alt text

  • 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.

    alt text

Roadmap

  • Staged file support for linting
  • Performance testing
  • Security testing
  • Accessibility testing
  • Frontend Dashboard
  • VS code extension