0.0.2 • Published 6 months ago

@paradigma.me/lint-config v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Lint config

A package that contains configuration linting and prettier for technologies: Angular, React and Vue.

How to use?

Inside application where you want use npm package, install package npm i -D @paradigma.me/lint-config

make sure the peerDependecies are all installed correctly for the package to work

Example, in an Angular application create file eslint.config.js

import index from '@paradigma.me/lint-config';
import angular from '@paradigma.me/lint-config';

export default [...index, ...angular]

How do you use SCSS linting?

  1. Installing Dependencies To use the Stylelint configuration for SCSS, install the following dependencies:

npm install --save-dev stylelint stylelint-scss postcss-scss stylelint-config-standard-scss

  1. Configuration Create a .stylelintrc.json file in the root of your project:

{ "extends": "@paradigma.me/lint-config/scss" }

  1. Script in package.json Add a script to run linting in your package.json:

{ "scripts": { "lint:scss": "stylelint '*/.scss'" } }

  1. Running Run the linting with:

npm run lint:scss

0.0.2

6 months ago

0.0.1

6 months ago

0.0.0

6 months ago