Skip to content

🔨 ESLint configuration of my style. Defined all rules.

Notifications You must be signed in to change notification settings

piecioshka/eslint-config-piecioshka

Repository files navigation

eslint-config-piecioshka

node version npm version downloads count size license github-ci

🔨 ESLint configuration of my style. All rules was defined.

Support Babel.js

  1. Install:
npm install -D @babel/eslint-parser
  1. Set parser in .eslintrc.js:
{
  "parser": "@babel/eslint-parser",
}

Compatibility

Compatible with ESLint v8.17.0.

Install

npm install -D eslint eslint-config-piecioshka

Usage

Add some ESLint config to your package.json:

{
    "scripts": {
        "lint": "eslint ."
    },
    "devDependencies": {
        "eslint": "latest",
        "eslint-config-piecioshka": "latest"
    },
    "eslintConfig": {
        "extends": "piecioshka"
    }
}

Then just run npm run lint.

License

The MIT License @ 2015-2024