1.0.1 • Published 2 years ago

@amalia-oss/eslint-plugin v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin

version

Custom ESLint rules.

Install

npm install --save-dev @amalia-oss/eslint-plugin

Setup

Add @amalia-oss to your list of plugins in your ESLint configuration, and configure the rules you want.

{
  plugins: ['@amalia-oss'],

  rules: {
    '@amalia-oss/object-property-newline': [
      'warn',
      { allowAllPropertiesOnSameLine: false },
    ],
  },
}

Rules

Rule nameDescriptionDefault configuration
@amalia-oss/object-property-newlineA replacement for ESLint's native object-property-newline rule, but taking the brackets into account for the allowAllPropertiesOnSameLine option.{ "allowAllPropertiesOnSameLine": false }
1.0.1

2 years ago

1.0.0

2 years ago