1.2.2 • Published 3 years ago

eslint-config-aargh v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm version downloads

AARGH

eslint-config-aargh

This package provides a strongly opinionated eslint configuration for seriously taken cartoonish javascript development.

How to install

Our default export contains all of the ESLint rules, including ECMAScript 6+, so it requires the eslint package along with the following eslint plugins:

  • eslint-plugin-import
  • eslint-plugin-node
  • eslint-plugin-promise

Install the correct versions of each package, which are listed by the following command.

npm info "eslint-config-aargh@latest" peerDependencies

If you are using npm 5+, use can use the following shortcut instead.

npx install-peerdeps --dev eslint-config-aargh

In case you are using npm < 5 you can run the following command,

(
  export PKG=eslint-config-aargh;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

which produces and runs a command as the following.

  npm install --save-dev eslint-config-aargh eslint@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-node@^#.#.# eslint-plugin-promise@^#.#.#

How to use

Create an .eslintrc file under the root folder of your project and add the following lines.

{
  "extends": ["aargh"],
  "rules": {}
}

Add rules into the rules property to override any default rules set by this configuration.

2.0.0-beta.1

3 years ago

2.0.0-beta.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago