@amalia-oss/eslint-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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 name Description Default configuration
@amalia-oss/object-property-newline A replacement for ESLint's native object-property-newline rule, but taking the brackets into account for the allowAllPropertiesOnSameLine option. { "allowAllPropertiesOnSameLine": false }

Readme

Keywords

none

Package Sidebar

Install

npm i @amalia-oss/eslint-plugin

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

13.3 kB

Total Files

8

Last publish

Collaborators

  • svc-tech-amalia-io