eslint-config-arsam
Eslint Prettier config extends Airbnb Prettier
Last updated a year ago by arsamsarabi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-arsam 
SYNC missed versions from official npm registry.

eslint-config-arsam

Clean but organised.

❗️This package is in development. There is currently no plan to create any form of formal documentation or a change log. That being said, I hope you find this package useful

How to

  • Install ESLint and Prettier extentions for your favourite text editor. I use and recommend VSCode.
  • Install eslint-config-arsam as one of your project's dev dependencies
npm i --save-dev eslint-config-arsam

Or if you're cool ????

yarn add --dev eslint-config-arsam
  • Create an .eslintrc file at the root of your project and add the below to it.
{
  "extends": ["arsam"]
}

Voila! That's it. If you wish to override any of the rules you can do it as you see in the example below

{
  "rules": {
    "no-param-reassign": 0,
    "no-underscore-dangle": 0,
    "react/jsx-wrap-multilines": 0,
    "curly": "error"
  },
  "settings": {
    "import/resolver": {
      "alias": {
        "map": [
          ["babel-polyfill", "babel-polyfill/dist/polyfill.min.js"],
          ["helper", "./utils/helper"],
          ["material-ui/DatePicker", "../custom/DatePicker"],
          ["material-ui", "material-ui-ie10"]
        ],
        "extensions": [".ts", ".js", ".jsx", ".json"]
      }
    }
  }
}

Roadmap

  • Re-think default rules
  • Improve README

Current Tags

  • 1.8.10                                ...           latest (a year ago)

31 Versions

  • 1.8.10                                ...           a year ago
  • 1.8.9                                ...           a year ago
  • 1.8.8                                ...           a year ago
  • 1.8.7                                ...           a year ago
  • 1.8.6                                ...           a year ago
  • 1.8.5                                ...           a year ago
  • 1.8.4                                ...           a year ago
  • 1.8.3                                ...           a year ago
  • 1.8.2                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.7.10                                ...           a year ago
  • 1.7.9                                ...           a year ago
  • 1.7.8                                ...           a year ago
  • 1.7.6                                ...           a year ago
  • 1.7.5                                ...           a year ago
  • 1.7.4                                ...           a year ago
  • 1.7.3                                ...           a year ago
  • 1.7.2                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.1.3                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |