You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|:star:||[no-invalid-require](docs/rules/no-invalid-require.md)| Disallow invalid `require` or `requirejs` calls |
82
+
|:star:||[no-multiple-define](docs/rules/no-multiple-define.md)| Disallow multiple module definitions in one file |
83
+
|:star:||[no-assign-exports](docs/rules/no-assign-exports.md)| Disallow assignment to `exports` when using Simplified CommonJS Wrapper |
84
+
|:star:||[no-js-extension](docs/rules/no-js-extension.md)| Disallow `.js` extension in dependency paths |
77
85
78
86
### Stylistic Choices
79
87
80
-
|| Rule | Description |
81
-
| :----: | :--- | :---------- |
82
-
||[no-object-define](docs/rules/no-object-define.md)| Disallow Simple Name/Value Pairs form of `define`|
83
-
||[no-function-define](docs/rules/no-function-define.md)| Disallow Simple Function form of `define`|
84
-
||[no-amd-define](docs/rules/no-amd-define.md)| Disallow AMD (dependency array) form of `define`|
85
-
||[no-named-define](docs/rules/no-named-define.md)| Disallow named module form of `define`|
86
-
||[no-commonjs-wrapper](docs/rules/no-commonjs-wrapper.md)| Disallow use of Simplified CommonJS Wrapper |
87
-
||[no-commonjs-return](docs/rules/no-commonjs-return.md)| Disallow use of `return` statement in a module definition when using Simplified CommonJS Wrapper |
88
-
||[no-commonjs-exports](docs/rules/no-commonjs-exports.md)| Disallow use of `exports` in a module definition when using Simplified CommonJS Wrapper |
89
-
||[no-commonjs-module-exports](docs/rules/no-commonjs-module-exports.md)| Disallow use of `module.exports` in a module definition when using Simplified CommonJS Wrapper |
90
-
||[no-dynamic-require](docs/rules/no-dynamic-require.md)| Disallow use of dynamically generated paths in a `require` call |
91
-
||[no-conditional-require](docs/rules/no-conditional-require.md)| Disallow use of conditional `require` calls |
92
-
||[no-assign-require](docs/rules/no-assign-require.md)| Disallow assignment to `require` or `window.require`|
93
-
||[no-require-tourl](docs/rules/no-require-tourl.md)| Disallow use of `require.toUrl` and `require.nameToUrl`|
94
-
||[enforce-define](docs/rules/enforce-define.md)| Require that all files be wrapped in a `define` call |
95
-
||[one-dependency-per-line](docs/rules/one-dependency-per-line.md)| Enforce line-break rules for AMD dependencies |
96
-
||[amd-function-arity](docs/rules/amd-function-arity.md)| Ensure AMD callbacks have correct number of parameters |
97
-
||[sort-amd-paths](docs/rules/sort-amd-paths.md)| Ensure that required paths are in alphabetical order |
88
+
These rules relate to style guidelines, and are therefore quite subjective:
89
+
90
+
||| Rule | Description |
91
+
| :----: | :------: | :--- | :---------- |
92
+
|||[no-object-define](docs/rules/no-object-define.md)| Disallow Simple Name/Value Pairs form of `define`|
93
+
|||[no-function-define](docs/rules/no-function-define.md)| Disallow Simple Function form of `define`|
94
+
|||[no-amd-define](docs/rules/no-amd-define.md)| Disallow AMD (dependency array) form of `define`|
95
+
|||[no-named-define](docs/rules/no-named-define.md)| Disallow named module form of `define`|
96
+
|||[no-commonjs-wrapper](docs/rules/no-commonjs-wrapper.md)| Disallow use of Simplified CommonJS Wrapper |
97
+
|||[no-commonjs-return](docs/rules/no-commonjs-return.md)| Disallow use of `return` statement in a module definition when using Simplified CommonJS Wrapper |
98
+
|||[no-commonjs-exports](docs/rules/no-commonjs-exports.md)| Disallow use of `exports` in a module definition when using Simplified CommonJS Wrapper |
99
+
|||[no-commonjs-module-exports](docs/rules/no-commonjs-module-exports.md)| Disallow use of `module.exports` in a module definition when using Simplified CommonJS Wrapper |
100
+
|||[no-dynamic-require](docs/rules/no-dynamic-require.md)| Disallow use of dynamically generated paths in a `require` call |
101
+
|||[no-conditional-require](docs/rules/no-conditional-require.md)| Disallow use of conditional `require` calls |
102
+
|||[no-assign-require](docs/rules/no-assign-require.md)| Disallow assignment to `require` or `window.require`|
103
+
|||[no-require-tourl](docs/rules/no-require-tourl.md)| Disallow use of `require.toUrl` and `require.nameToUrl`|
104
+
|||[enforce-define](docs/rules/enforce-define.md)| Require that all files be wrapped in a `define` call |
105
+
||:wrench:|[one-dependency-per-line](docs/rules/one-dependency-per-line.md)| Enforce line-break rules for AMD dependencies |
106
+
|||[amd-function-arity](docs/rules/amd-function-arity.md)| Ensure AMD callbacks have correct number of parameters |
107
+
|||[sort-amd-paths](docs/rules/sort-amd-paths.md)| Ensure that required paths are in alphabetical order |
0 commit comments