1.1.0 • Published 7 years ago

@edvolution/eslint-config v1.1.0

Weekly downloads
-
License
GPL
Repository
bitbucket
Last release
7 years ago

Edvolution ESLint Config

Shared ESLint config for Edvolution

Usage

Installation and setup

  • Install config with dependencies

    npx install-peerdeps --dev @edvolution/eslint-config
  • Create local ESLint config

    echo '{
      "extends": ["@edvolution"]
    }' > .eslintrc
  • Add scripts to package.json

      "scripts": {
        "lint": "eslint .",
        "format": "eslint --fix ."
      }

Alternative configurations

The default config is flexible enough for most JavaScript projects that use the Node ecosystem. That said, there are a few variations for common cases.

Use CaseScopeExtends
DefaultThe baseline config@edvolution
ModulesES Modules i.e. import/export@edvolution/eslint-config/modules
ReactReact and JSX support@edvolution/eslint-config/react
CompleteAll the configurations@edvolution/eslint-config/complete

For example, a standard Node project but with ES Modules:

{
  "extends": [
    "@edvolution",
    "@edvolution/eslint-config/modules"
  ]
}

Deployment

Updates to this library can be deployed to the public namespace.

npm publish --access public
1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago