1.8.10 • Published 5 years ago

eslint-config-arsam v1.8.10

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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
1.8.10

5 years ago

1.8.9

5 years ago

1.8.8

5 years ago

1.8.7

5 years ago

1.8.6

5 years ago

1.8.5

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.10

5 years ago

1.7.9

5 years ago

1.7.8

5 years ago

1.7.6

5 years ago

1.7.5

5 years ago

1.7.4

5 years ago

1.7.3

5 years ago

1.7.2

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.3

5 years ago