Skip to content

lipex360x/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint, Typecheck and NPM Check Updates

  • with yarn

yarn add -D [email protected] [email protected] [email protected] [email protected] @lipex360-ui/eslint-config --save-exact && code package.json

  • with bun

bun add -D eslint eslint-plugin-prettier @lipex360-ui/eslint-config && code package.json

file: package.json

"scripts": {
  "typecheck": "tsc --noEmit",
  "lint": "npx eslint . --ext .ts,.tsx --fix",
  "ncu": "npx npm-check-updates -i --dep=prod,dev --format group"
},

"eslintConfig": {
  "extends": [
    "@lipex360-ui/eslint-config"
  ],
  "rules": {
    "prettier/prettier": [
      "error",
      {
        "tailwindConfig": "./tailwind.config.ts",
        "plugins": [
          "prettier-plugin-tailwindcss"
        ],
        "pluginSearchDirs": false,
        "printWidth": 80,
        "tabWidth": 2,
        "singleQuote": true,
        "trailingComma": "all",
        "arrowParens": "always",
        "semi": false
      }
    ]
  }
}

Old version

npm i -D eslint eslint-plugin-prettier @lipex360-ui/eslint-config && code package.json

"scripts": {
  "lint": "npx eslint . --ext .ts,.tsx --fix"
},

"eslintConfig": {
  "extends": [
    "@lipex360-ui/eslint-config"
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages