eslint-config-kununu-universal

1.0.1 • Public • Published

eslint-config-kununu-universal

@kununu's Universal ESLint config.

Install

This contains ESLint rules for ECMAScript 6+, React and Flow. It requires eslint, eslint-plugin-babel, eslint-plugin-flowtype, eslint-plugin-import, eslint-plugin-jsx-a11y, and eslint-plugin-react.

  1. Ensure packages are installed with correct version numbers by running:
(
  export PKG=eslint-config-kununu-universal;
  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:

npm install --save-dev eslint-config-kununu-universal eslint@^#.#.# eslint-plugin-babel@^#.#.# eslint-plugin-flowtype@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-react@^#.#.#
  1. Add "extends": "kununu-universal" to your .eslintrc

Package Sidebar

Install

npm i eslint-config-kununu-universal

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • karlhorky