Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@atlassian/eslint-config-atlassian-fecq

3.0.0 • Public • Published

Atlassian FECQ ESLint Configuration

The source of truth for Atlassian's JavaScript Style Guide.

This ESLint configuration is part of the Front End Code Quality project and should be used to extend your local ESLint config to pull in Atlassian's preferred styles and linting requirements for JavaScript.

Please take a look at the ESLint configuration in this project to understand the style and lint guidelines for Atlassian.

Requirements:

  • NodeJS >= 4
  • npm >= 3

To use this ESLint configuration in your project, extend it in your .eslintrc.

First install it as the npm module:

$> npm install --save-dev @atlassian/eslint-config-atlassian-fecq

Then add it to the .eslintrc that you want to extend and override config properties for your project.

{
    "extends": "@atlassian/atlassian-fecq",
 
    // override default rules, envs, globals
    "rules": {
        ...
    }
}

Automatic setup

You can run the following command from your project directory to automatically set up your repo:

./node_modules/@atlassian/eslint-config-atlassian-fecq/setup.js

Just follow the prompts!

Publishing this package

This package is published to the public npm registry. Use npm run release.

Changelog

3.0.0

  • Require eslint>=4.0.0
  • Dependency upgrades, jest test added
  • No longer explicitly published to the private registry

2.0.1

  • Add .npmrc for publishing to the public registry

2.0.0

  • Removed default rules (since ESLint 1.x all rules are turned off by default)
  • ESLint >= 1 is now a dependency to avoid conflicts with older versions where many rules were turned on by default
  • Removed the "env" and "globals" sections from config. "env" in particular was wrong to include in a base config.

1.0.1

  • Remove duplicated strict entry

1.0.0

  • Rename from "atlassian-style-guide" to "atlassian-fecq"

0.1.3

  • Add setup script

Install

npm i @atlassian/eslint-config-atlassian-fecq

DownloadsWeekly Downloads

83

Version

3.0.0

License

MIT

Unpacked Size

8.58 kB

Total Files

13

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar