npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

eslint-config-paazmaya

6.0.0 • Public • Published

eslint-config-paazmaya

Shared ESLint configuration between my projects since it is possible

Build Status devDependencies Status

Usage

Install via npm command line tool, along with ESLint:

npm install --save-dev eslint eslint-config-paazmaya

Note that the minimum ESLint version supported is 6.0.0 due to the rule configuration, but the latest usually works best.

Change the .eslintrc.json to contain the configuration for the shared configuration:

{
  "extends": "paazmaya"
}

For further details see ESLint documentation for Shareable Configs.

For example, when babel-eslint parser would be needed:

{
  "extends": "paazmaya",
  "parser": "babel-eslint"
}

The default configuration specifies global variable environments as:

env: {
  node: true,
  es6: true
}

The global variables themselves are defined at sindresorhus/globals.

Please note that the minimum supported version of Node.js is 8.11.1, which is the active Long Term Support (LTS) version.

Contributing

"A Beginner's Guide to Open Source: The Best Advice for Making your First Contribution"

Also there is a blog post about "45 Github Issues Dos and Don’ts".

Linting is done with ESLint and can be executed with npm test. There should be no errors appearing after any JavaScript file changes.

Version history

  • v6.0.0 (2019-07-03)
  • v5.3.0 (2019-05-07)
    • Get new rules up to ESLint v5.16.0, total of one new rule
    • Changed prefer-destructuring configuration from off to warn
  • v5.2.0 (2019-01-26)
    • Remove jsdoc related rules, as per deprecation in ESLint
    • Get new rules up to ESLint v5.12.0, total of one new rule
  • v5.1.0 (2018-11-08)
    • Require arrow-parens to be used always, due to consistency
    • Get new rules up to ESLint v5.8.0, total of zero new rules
  • v5.0.0 (2018-08-15)
    • Paired with ESLint v5.0.0. Added its three new rules
    • Get new rules up to ESLint v5.3.0, total of four new rules
  • v4.3.0 (2017-12-11)
    • Get new rules up to ESLint v4.13.0, total of one new rule
  • v4.2.0 (2017-10-17)
    • Get new rules up to ESLint v4.9.0, total of three new rules
  • v4.1.0 (2017-07-10)
    • Get new rules up to ESLint v4.2.0, total of one new rule
    • Changed capitalized-comments to off as it is violated often on purpose
  • v4.0.0 (2017-06-12)
  • v3.2.0 (2017-03-09)
    • Now there is ESLint v3.17.1 already out. Added nine new rules
  • v3.1.0 (2016-11-12)
    • Now there is ESLint v3.10.2 already out. Updated all rules since previous release, namely three new rules
  • v3.0.0 (2016-09-14)
    • Adding rules in use that are available in and up to ESLint v3.5.0, hence that is the minimum supported version
  • v2.3.1 (2016-07-22)
    • Removed ESLint from being a peer dependency as it prevents using with grunt-eslint or similar
  • v2.3.0 (2016-07-10)
    • Had to change object-curly-newline configuration to allow more variation
  • v2.2.0 (2016-07-05)
    • Updated to include rules introduced since 2.10, but before 3.0
    • Update ESLint peer dependency to be at least v2.12.0 and less than v4.0.0
  • v2.1.0 (2016-05-14)
  • v2.0.0 (2016-05-13)
    • Removed babel-eslint parser since most of the projects needs to run directly on Node.js v4.2.0 (LTS)
    • Start testing against itself and automate via Travis CI
  • v1.0.1 (2016-05-02)
    • babel-eslint was marked as parser but was not a dependency
  • v1.0.0 (2016-05-02)
    • Initial rule set taken from tarita

License

Copyright (c) Juga Paazmaya paazmaya@yahoo.com

Licensed under the MIT license.

install

npm i eslint-config-paazmaya

Downloadsweekly downloads

388

version

6.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability