@sandjs/eslint-config-sand

1.0.0 • Public • Published

eslint-config-sand

This package provides SandJS's .eslintrc as an extensible shared config.

Usage

eslint-config-sand

Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint and eslint-plugin-import.

  1. Ensure packages are installed with correct version numbers by running:
(
  export PKG=@sandjs/eslint-config-sand;
  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 like:x

  npm install --save-dev @sandjs/eslint-config-sand eslint@^#.#.# eslint-plugin-import@^#.#.#
  1. Add "extends": "@sandjs/sand" to your .eslintrc

Package Sidebar

Install

npm i @sandjs/eslint-config-sand

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sazze-inc
  • pmarrapese
  • jacinto
  • ksmithson