Skip to content

Commit

Permalink
feat: disable nut double-quote rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Mar 15, 2023
1 parent 7e584c9 commit 0dea4d3
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,18 @@ module.exports = {
| [id-flag-suggestions](docs/rules/id-flag-suggestions.md) | Create better salesforceId flags with length and startsWith properties | | ✈️ βœ… | πŸ”§ | πŸ’‘ |
| [no-args-parse-without-strict-false](docs/rules/no-args-parse-without-strict-false.md) | If you parse args/argv, the class should have strict set to false | ✈️ βœ… | | πŸ”§ | |
| [no-builtin-flags](docs/rules/no-builtin-flags.md) | Handling for sfdxCommand's flags.builtin | ✈️ | | πŸ”§ | |
| [no-classes-in-command-return-type](docs/rules/no-classes-in-command-return-type.md) | The return type of the run method should not contain a class. | ✈️ βœ… | | πŸ”§ | |
| [no-deprecated-properties](docs/rules/no-deprecated-properties.md) | Removes non-existent properties left over from SfdxCommand | ✈️ | | πŸ”§ | |
| [no-duplicate-short-characters](docs/rules/no-duplicate-short-characters.md) | Prevent duplicate use of short characters or conflicts between aliases and flags | ✈️ βœ… | | | |
| [no-execcmd-double-quotes](docs/rules/no-execcmd-double-quotes.md) | Do not use double quotes in NUT examples. They will not work on windows | πŸ“š ✈️ βœ… | | πŸ”§ | |
| [no-filepath-flags](docs/rules/no-filepath-flags.md) | Change filepath flag to file flag | | | πŸ”§ | |
| [no-h-short-char](docs/rules/no-h-short-char.md) | Do not allow creation of a flag with short char -h | ✈️ βœ… | | | |
| [no-hardcoded-messages-commands](docs/rules/no-hardcoded-messages-commands.md) | Use loaded messages and separate files for messages | | ✈️ βœ… | | |
| [no-hardcoded-messages-flags](docs/rules/no-hardcoded-messages-flags.md) | Use loaded messages and separate files for messages | | ✈️ βœ… | | |
| [no-hyphens-aliases](docs/rules/no-hyphens-aliases.md) | Mark when an alias starts with a hyphen, like -f or --foo | ✈️ βœ… | | πŸ”§ | |
| [no-id-flags](docs/rules/no-id-flags.md) | Change Id flag to salesforceId | ✈️ | | πŸ”§ | |
| [no-json-flag](docs/rules/no-json-flag.md) | Do not allow creation of json flag | ✈️ βœ… | | | |
| [no-messages-load](docs/rules/no-messages-load.md) | Use Messages.loadMessages() instead of Messages.load() | πŸ“š ✈️ βœ… | | πŸ”§ | |
| [no-missing-messages](docs/rules/no-missing-messages.md) | Checks core Messages usage for correct usage of named messages and message tokens | πŸ“š ✈️ βœ… | | | |
| [no-number-flags](docs/rules/no-number-flags.md) | Change number flag to integer | | | πŸ”§ | |
| [no-oclif-flags-command-import](docs/rules/no-oclif-flags-command-import.md) | Change import of flags and Command from oclif to use sf-plugins-core | ✈️ βœ… | | πŸ”§ | |
Expand Down
7 changes: 7 additions & 0 deletions docs/rules/no-classes-in-command-return-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The return type of the run method should not contain a class (`sf-plugin/no-classes-in-command-return-type`)

πŸ’Ό This rule is enabled in the following configs: ✈️ `migration`, βœ… `recommended`.

πŸ”§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

<!-- end auto-generated rule header -->
7 changes: 7 additions & 0 deletions docs/rules/no-execcmd-double-quotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Do not use double quotes in NUT examples. They will not work on windows (`sf-plugin/no-execcmd-double-quotes`)

πŸ’Ό This rule is enabled in the following configs: πŸ“š `library`, ✈️ `migration`, βœ… `recommended`.

πŸ”§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

<!-- end auto-generated rule header -->
7 changes: 7 additions & 0 deletions docs/rules/no-messages-load.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Use Messages.loadMessages() instead of Messages.load() (`sf-plugin/no-messages-load`)

πŸ’Ό This rule is enabled in the following configs: πŸ“š `library`, ✈️ `migration`, βœ… `recommended`.

πŸ”§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

<!-- end auto-generated rule header -->
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const library = {
rules: {
'sf-plugin/no-missing-messages': 'error',
'sf-plugin/no-messages-load': 'error',
'sf-plugin/no-execcmd-double-quotes': 'error',
'sf-plugin/no-execcmd-double-quotes': 'off',
},
};

Expand Down

0 comments on commit 0dea4d3

Please sign in to comment.