3.0.5 • Published 6 years ago

eslint-config-ascribe v3.0.5

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

eslint-config-ascribe

npm

Provides a ES6 ESLint configuration against Ascribe's JavaScript style guide.

As Airbnb graciously provides a default ES6 ESLint configuration (see here), we extend that and override it when our rules differ.

Installation

npm install --save-dev eslint-config-ascribe babel-eslint eslint-plugin-import eslint

Two configurations are exported:

eslint-config-ascribe

Full ES6 configuration. Like airbnb's, it requires eslint and eslint-plugin-import, but also babel-eslint for some ES6+ features that ESLint doesn't natively know about yet. To use, add "extends": "ascribe" to your ESLint configuration:

{
  "extends": "ascribe"
}

eslint-config-ascribe/es5

Same as the full configuration, except with all ES6 features turned off and uses ESLint's default parser.

To use:

  • Add "extends": "ascribe/es5" to your ESLint configuration:
{
  "extends": "ascribe/es5"
}

npm releases

Since this package is part of our styleguide repo, automating npm releases is tricky (can't have multiple Git tags in one repo etc.).

So for now it's all manual. Make sure to actually publish the respective package folder, not the whole repo by going into the package folder first:

cd packages/eslint-config-ascribe

# update version number in package.json, then:
git commit -am "Release 3.0.2"
npm publish
3.0.5

6 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.9.0

8 years ago

2.8.1

8 years ago

2.8.0

8 years ago

2.7.0

8 years ago

2.6.0

8 years ago

2.5.0

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago