eslint-config-defaults
Advanced tools
Comparing version 6.0.0 to 7.0.0
@@ -0,1 +1,11 @@ | ||
## 7.0.0 (2015-10-01) | ||
#### User Facing Changes | ||
* Remove deprecated react/jsx-quotes in favor of jsx-quotes | ||
* Update eslint 1.0.0 -> 1.5.1 | ||
* Update eslint-react 3.1.0 -> 3.5.0 | ||
* Adds use strict back to best-practices | ||
* Fixes defaults extensibility in configuration files | ||
## 6.0.0 (2015-09-01) | ||
@@ -2,0 +12,0 @@ |
@@ -5,11 +5,11 @@ "use strict"; | ||
"extends": [ | ||
"../rules/eslint/best-practices/airbnb.js", | ||
"../rules/eslint/errors/airbnb.js", | ||
"../rules/eslint/es6/airbnb.js", | ||
"../rules/eslint/legacy/airbnb.js", | ||
"../rules/eslint/node/airbnb.js", | ||
"../rules/eslint/strict/airbnb.js", | ||
"../rules/eslint/style/airbnb.js", | ||
"../rules/eslint/variables/airbnb.js", | ||
"../rules/react/airbnb.js" | ||
"defaults/rules/eslint/best-practices/airbnb", | ||
"defaults/rules/eslint/errors/airbnb", | ||
"defaults/rules/eslint/es6/airbnb", | ||
"defaults/rules/eslint/legacy/airbnb", | ||
"defaults/rules/eslint/node/airbnb", | ||
"defaults/rules/eslint/strict/airbnb", | ||
"defaults/rules/eslint/style/airbnb", | ||
"defaults/rules/eslint/variables/airbnb", | ||
"defaults/rules/react/airbnb" | ||
], | ||
@@ -16,0 +16,0 @@ "parser": "babel-eslint", |
@@ -1,13 +0,11 @@ | ||
"use strict"; | ||
module.exports = { | ||
"extends": [ | ||
"../rules/eslint/best-practices/eslint.js", | ||
"../rules/eslint/errors/eslint.js", | ||
"../rules/eslint/es6/eslint.js", | ||
"../rules/eslint/legacy/eslint.js", | ||
"../rules/eslint/node/eslint.js", | ||
"../rules/eslint/strict/eslint.js", | ||
"../rules/eslint/style/eslint.js", | ||
"../rules/eslint/variables/eslint.js" | ||
"defaults/rules/eslint/best-practices/eslint", | ||
"defaults/rules/eslint/errors/eslint", | ||
"defaults/rules/eslint/es6/eslint", | ||
"defaults/rules/eslint/legacy/eslint", | ||
"defaults/rules/eslint/node/eslint", | ||
"defaults/rules/eslint/strict/eslint", | ||
"defaults/rules/eslint/style/eslint", | ||
"defaults/rules/eslint/variables/eslint" | ||
], | ||
@@ -14,0 +12,0 @@ "parser": "espree", |
@@ -5,10 +5,10 @@ "use strict"; | ||
"extends": [ | ||
"../rules/eslint/best-practices/google.js", | ||
"../rules/eslint/errors/google.js", | ||
"../rules/eslint/es6/google.js", | ||
"../rules/eslint/legacy/google.js", | ||
"../rules/eslint/node/google.js", | ||
"../rules/eslint/strict/google.js", | ||
"../rules/eslint/style/google.js", | ||
"../rules/eslint/variables/google.js", | ||
"defaults/rules/eslint/best-practices/google", | ||
"defaults/rules/eslint/errors/google", | ||
"defaults/rules/eslint/es6/google", | ||
"defaults/rules/eslint/legacy/google", | ||
"defaults/rules/eslint/node/google", | ||
"defaults/rules/eslint/strict/google", | ||
"defaults/rules/eslint/style/google", | ||
"defaults/rules/eslint/variables/google", | ||
], | ||
@@ -15,0 +15,0 @@ "env": {}, |
@@ -5,10 +5,10 @@ "use strict"; | ||
"extends": [ | ||
"../rules/eslint/best-practices/off.js", | ||
"../rules/eslint/errors/off.js", | ||
"../rules/eslint/es6/off.js", | ||
"../rules/eslint/legacy/off.js", | ||
"../rules/eslint/node/off.js", | ||
"../rules/eslint/strict/off.js", | ||
"../rules/eslint/style/off.js", | ||
"../rules/eslint/variables/off.js" | ||
"defaults/rules/eslint/best-practices/off", | ||
"defaults/rules/eslint/errors/off", | ||
"defaults/rules/eslint/es6/off", | ||
"defaults/rules/eslint/legacy/off", | ||
"defaults/rules/eslint/node/off", | ||
"defaults/rules/eslint/strict/off", | ||
"defaults/rules/eslint/style/off", | ||
"defaults/rules/eslint/variables/off" | ||
], | ||
@@ -15,0 +15,0 @@ "env": {}, |
"use strict"; | ||
module.exports = { | ||
"extends": "./es5.js", | ||
"extends": "defaults/configurations/walmart/es5", | ||
"env": { | ||
@@ -9,2 +9,2 @@ "browser": true | ||
}; | ||
@@ -5,4 +5,4 @@ "use strict"; | ||
"extends": [ | ||
"./es5.js", | ||
"../../rules/eslint/node/walmart.js" | ||
"defaults/configurations/walmart/es5", | ||
"defaults/rules/eslint/node/walmart" | ||
], | ||
@@ -9,0 +9,0 @@ "rules": { |
@@ -5,10 +5,10 @@ "use strict"; | ||
"extends": [ | ||
"./es5.js" | ||
], | ||
"env": { | ||
"mocha": true | ||
"defaults/configurations/walmart/es5", | ||
], | ||
"env": { | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
} | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
} | ||
}; |
@@ -5,11 +5,11 @@ "use strict"; | ||
"extends": [ | ||
"../../rules/eslint/best-practices/walmart.js", | ||
"../../rules/eslint/errors/walmart.js", | ||
"../../rules/eslint/es6/off.js", | ||
"../../rules/eslint/legacy/walmart.js", | ||
"../../rules/eslint/node/off.js", | ||
"../../rules/eslint/strict/walmart.js", | ||
"../../rules/eslint/style/walmart.js", | ||
"../../rules/eslint/variables/walmart.js", | ||
"../../rules/filenames/walmart.js" | ||
"defaults/rules/eslint/best-practices/walmart", | ||
"defaults/rules/eslint/errors/walmart", | ||
"defaults/rules/eslint/es6/off", | ||
"defaults/rules/eslint/legacy/walmart", | ||
"defaults/rules/eslint/node/off", | ||
"defaults/rules/eslint/strict/walmart", | ||
"defaults/rules/eslint/style/walmart", | ||
"defaults/rules/eslint/variables/walmart", | ||
"defaults/rules/filenames/walmart" | ||
], | ||
@@ -16,0 +16,0 @@ "env": {}, |
"use strict"; | ||
module.exports = { | ||
"extends": "./es6.js", | ||
"extends": "defaults/configurations/walmart/es6", | ||
"env": { | ||
"browser": true | ||
"env": { | ||
"browser": true | ||
} | ||
}; |
@@ -5,5 +5,5 @@ "use strict"; | ||
"extends": [ | ||
"./es6.js", | ||
"../../rules/eslint/node/walmart.js" | ||
"defaults/configurations/walmart/es6", | ||
"defaults/rules/eslint/node/walmart" | ||
] | ||
}; |
@@ -5,4 +5,4 @@ "use strict"; | ||
"extends": [ | ||
"./es6.js", | ||
"../../rules/react/walmart.js" | ||
"defaults/configurations/walmart/es6", | ||
"defaults/rules/react/walmart" | ||
], | ||
@@ -9,0 +9,0 @@ "globals": { |
"use strict"; | ||
module.exports = { | ||
"extends": "./es6.js", | ||
"env": { | ||
"mocha": true | ||
"extends": "defaults/configurations/walmart/es6", | ||
"env": { | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
} | ||
"rules": { | ||
"max-nested-callbacks": 0 | ||
} | ||
}; |
@@ -5,4 +5,4 @@ "use strict"; | ||
"extends": [ | ||
"./es5.js", | ||
"../../rules/eslint/es6/walmart.js" | ||
"defaults/configurations/walmart/es5", | ||
"defaults/rules/eslint/es6/walmart" | ||
], | ||
@@ -9,0 +9,0 @@ "rules": { |
@@ -17,3 +17,3 @@ { | ||
"version" : "6.0.0", | ||
"version" : "7.0.0", | ||
"author" : "Eric Baer <me@ericbaer.com>", | ||
@@ -20,0 +20,0 @@ |
@@ -88,4 +88,4 @@ <h1 align="center">eslint-config-defaults</h1> | ||
- [ESLint](https://github.com/eslint/eslint) 1.0.0 | ||
- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) 3.1.0 | ||
- [ESLint](https://github.com/eslint/eslint) 1.5.1 | ||
- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) 3.5.0 | ||
- [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) 0.0.7 | ||
@@ -92,0 +92,0 @@ - [Google JavaScript Style Guide](https://github.com/google/styleguide/tree/43d738ab8bb0c797f78506945729946aacbab17d) 43d738ab8b |
@@ -100,2 +100,4 @@ "use strict"; | ||
"no-useless-call": 0, | ||
// disallow unnecessary concatenation of literals or template literals | ||
"no-useless-concat": 0, | ||
// disallow use of void operator | ||
@@ -102,0 +104,0 @@ "no-void": 0, |
@@ -100,2 +100,4 @@ "use strict"; | ||
"no-useless-call": 0, | ||
// disallow unnecessary concatenation of literals or template literals | ||
"no-useless-concat": 0, | ||
// disallow use of void operator | ||
@@ -102,0 +104,0 @@ "no-void": 0, |
@@ -100,2 +100,4 @@ "use strict"; | ||
"no-useless-call": 0, | ||
// disallow unnecessary concatenation of literals or template literals | ||
"no-useless-concat": 0, | ||
// disallow use of void operator | ||
@@ -102,0 +104,0 @@ "no-void": 0, |
@@ -100,2 +100,4 @@ "use strict"; | ||
"no-useless-call": 0, | ||
// disallow unnecessary concatenation of literals or template literals | ||
"no-useless-concat": 0, | ||
// disallow use of void operator | ||
@@ -102,0 +104,0 @@ "no-void": 0, |
@@ -100,2 +100,4 @@ "use strict"; | ||
"no-useless-call": 2, | ||
// disallow unnecessary concatenation of literals or template literals | ||
"no-useless-concat": 2, | ||
// disallow use of void operator | ||
@@ -102,0 +104,0 @@ "no-void": 0, |
@@ -38,2 +38,4 @@ "use strict"; | ||
"no-const-assign": 0, | ||
// disallow duplicate name in class members | ||
"no-dupe-class-members": 0, | ||
// disallow to use this/super before super() calling in constructors. | ||
@@ -45,2 +47,4 @@ "no-this-before-super": 0, | ||
"object-shorthand": 0, | ||
// suggest using arrow functions as callbacks | ||
"prefer-arrow-callback": 0, | ||
// suggest using of const declaration for variables that are never modified after declared | ||
@@ -52,2 +56,4 @@ "prefer-const": 2, | ||
"prefer-reflect": 0, | ||
// suggest using template literals instead of strings concatenation | ||
"prefer-template": 0, | ||
// disallow generator functions that do not have yield | ||
@@ -54,0 +60,0 @@ "require-yield": 0 |
@@ -23,2 +23,4 @@ "use strict"; | ||
"no-const-assign": 0, | ||
// disallow duplicate name in class members | ||
"no-dupe-class-members": 0, | ||
// disallow to use this/super before super() calling in constructors. | ||
@@ -30,2 +32,4 @@ "no-this-before-super": 0, | ||
"object-shorthand": 0, | ||
// suggest using arrow functions as callbacks | ||
"prefer-arrow-callback": 0, | ||
// suggest using of const declaration for variables that are never modified after declared | ||
@@ -37,2 +41,4 @@ "prefer-const": 0, | ||
"prefer-reflect": 0, | ||
// suggest using template literals instead of strings concatenation | ||
"prefer-template": 0, | ||
// disallow generator functions that do not have yield | ||
@@ -39,0 +45,0 @@ "require-yield": 0 |
@@ -23,2 +23,4 @@ "use strict"; | ||
"no-const-assign": 0, | ||
// disallow duplicate name in class members | ||
"no-dupe-class-members": 0, | ||
// disallow to use this/super before super() calling in constructors. | ||
@@ -30,2 +32,4 @@ "no-this-before-super": 0, | ||
"object-shorthand": 0, | ||
// suggest using arrow functions as callbacks | ||
"prefer-arrow-callback": 0, | ||
// suggest using of const declaration for variables that are never modified after declared | ||
@@ -37,2 +41,4 @@ "prefer-const": 0, | ||
"prefer-reflect": 0, | ||
// suggest using template literals instead of strings concatenation | ||
"prefer-template": 0, | ||
// disallow generator functions that do not have yield | ||
@@ -39,0 +45,0 @@ "require-yield": 0 |
@@ -23,2 +23,4 @@ "use strict"; | ||
"no-const-assign": 0, | ||
// disallow duplicate name in class members | ||
"no-dupe-class-members": 0, | ||
// disallow to use this/super before super() calling in constructors. | ||
@@ -30,2 +32,4 @@ "no-this-before-super": 0, | ||
"object-shorthand": 0, | ||
// suggest using arrow functions as callbacks | ||
"prefer-arrow-callback": 0, | ||
// suggest using of const declaration for variables that are never modified after declared | ||
@@ -37,2 +41,4 @@ "prefer-const": 0, | ||
"prefer-reflect": 0, | ||
// suggest using template literals instead of strings concatenation | ||
"prefer-template": 0, | ||
// disallow generator functions that do not have yield | ||
@@ -39,0 +45,0 @@ "require-yield": 0 |
@@ -23,2 +23,4 @@ "use strict"; | ||
"no-const-assign": 2, | ||
// disallow duplicate name in class members | ||
"no-dupe-class-members": 2, | ||
// disallow to use this/super before super() calling in constructors. | ||
@@ -30,2 +32,4 @@ "no-this-before-super": 2, | ||
"object-shorthand": 2, | ||
// suggest using arrow functions as callbacks | ||
"prefer-arrow-callback": 1, | ||
// suggest using of const declaration for variables that are never modified after declared | ||
@@ -37,2 +41,4 @@ "prefer-const": 2, | ||
"prefer-reflect": 0, | ||
// suggest using template literals instead of strings concatenation | ||
"prefer-template": 1, | ||
// disallow generator functions that do not have yield | ||
@@ -39,0 +45,0 @@ "require-yield": 2 |
@@ -10,2 +10,4 @@ "use strict"; | ||
"callback-return": 0, | ||
// disallow require() outside of the top-level module scope | ||
"global-require": 0, | ||
// enforces error handling in callbacks (node environment) | ||
@@ -12,0 +14,0 @@ "handle-callback-err": 0, |
@@ -10,2 +10,4 @@ "use strict"; | ||
"callback-return": 0, | ||
// disallow require() outside of the top-level module scope | ||
"global-require": 0, | ||
// enforces error handling in callbacks (node environment) | ||
@@ -12,0 +14,0 @@ "handle-callback-err": 0, |
@@ -10,2 +10,4 @@ "use strict"; | ||
"callback-return": 0, | ||
// disallow require() outside of the top-level module scope | ||
"global-require": 0, | ||
// enforces error handling in callbacks (node environment) | ||
@@ -12,0 +14,0 @@ "handle-callback-err": 0, |
@@ -10,2 +10,4 @@ "use strict"; | ||
"callback-return": 0, | ||
// disallow require() outside of the top-level module scope | ||
"global-require": 0, | ||
// enforces error handling in callbacks (node environment) | ||
@@ -12,0 +14,0 @@ "handle-callback-err": 0, |
@@ -10,2 +10,4 @@ "use strict"; | ||
"callback-return": 2, | ||
// disallow require() outside of the top-level module scope | ||
"global-require": 1, | ||
// enforces error handling in callbacks (node environment) | ||
@@ -12,0 +14,0 @@ "handle-callback-err": 0, |
@@ -7,2 +7,4 @@ "use strict"; | ||
"array-bracket-spacing": 0, | ||
// disallow or enforce spaces inside of single line blocks | ||
"block-spacing": 0, | ||
// enforce one true brace style | ||
@@ -30,2 +32,4 @@ "brace-style": [2, "1tbs", { "allowSingleLine": true }], | ||
"indent": [2, 2], | ||
// specify whether double or single quotes should be used in JSX attributes | ||
"jsx-quotes": [2, "double"], | ||
// enforces spacing between keys and values in object literal properties | ||
@@ -61,2 +65,4 @@ "key-spacing": [2, {"beforeColon": false, "afterColon": true}], | ||
"no-new-object": 2, | ||
// disallow use of certain syntax in code | ||
"no-restricted-syntax": 0, | ||
// disallow space between function identifier and application | ||
@@ -96,2 +102,4 @@ "no-spaced-func": 2, | ||
"space-after-keywords": 2, | ||
// require a space before certain keywords | ||
"space-before-keywords": 0, | ||
// require or disallow space before blocks | ||
@@ -98,0 +106,0 @@ "space-before-blocks": 2, |
@@ -7,2 +7,4 @@ "use strict"; | ||
"array-bracket-spacing": [0, "never"], | ||
// disallow or enforce spaces inside of single line blocks | ||
"block-spacing": 0, | ||
// enforce one true brace style | ||
@@ -30,2 +32,4 @@ "brace-style": [0, "1tbs"], | ||
"indent": 0, | ||
// specify whether double or single quotes should be used in JSX attributes | ||
"jsx-quotes": 0, | ||
// enforces spacing between keys and values in object literal properties | ||
@@ -61,2 +65,4 @@ "key-spacing": [0, { "beforeColon": false, "afterColon": true }], | ||
"no-new-object": 0, | ||
// disallow use of certain syntax in code | ||
"no-restricted-syntax": 0, | ||
// disallow space between function identifier and application | ||
@@ -96,2 +102,4 @@ "no-spaced-func": 0, | ||
"space-after-keywords": [0, "always"], | ||
// require a space before certain keywords | ||
"space-before-keywords": 0, | ||
// require or disallow space before blocks | ||
@@ -98,0 +106,0 @@ "space-before-blocks": [0, "always"], |
@@ -7,2 +7,4 @@ "use strict"; | ||
"array-bracket-spacing": 0, | ||
// disallow or enforce spaces inside of single line blocks | ||
"block-spacing": 0, | ||
// enforce one true brace style | ||
@@ -30,2 +32,4 @@ "brace-style": [2, "1tbs", { "allowSingleLine": true }], | ||
"indent": [2, 2], | ||
// specify whether double or single quotes should be used in JSX attributes | ||
"jsx-quotes": 0, | ||
// enforces spacing between keys and values in object literal properties | ||
@@ -61,2 +65,4 @@ "key-spacing": [2, { "beforeColon": false, "afterColon": true }], | ||
"no-new-object": 2, | ||
// disallow use of certain syntax in code | ||
"no-restricted-syntax": 0, | ||
// disallow space between function identifier and application | ||
@@ -96,2 +102,4 @@ "no-spaced-func": 2, | ||
"space-after-keywords": 0, | ||
// require a space before certain keywords | ||
"space-before-keywords": 0, | ||
// require or disallow space before blocks | ||
@@ -98,0 +106,0 @@ "space-before-blocks": [2, "always"], |
@@ -7,2 +7,4 @@ "use strict"; | ||
"array-bracket-spacing": 0, | ||
// disallow or enforce spaces inside of single line blocks | ||
"block-spacing": 0, | ||
// enforce one true brace style | ||
@@ -30,2 +32,4 @@ "brace-style": 0, | ||
"indent": 0, | ||
// specify whether double or single quotes should be used in JSX attributes | ||
"jsx-quotes": 0, | ||
// enforces spacing between keys and values in object literal properties | ||
@@ -61,2 +65,4 @@ "key-spacing": 0, | ||
"no-new-object": 0, | ||
// disallow use of certain syntax in code | ||
"no-restricted-syntax": 0, | ||
// disallow space between function identifier and application | ||
@@ -96,2 +102,4 @@ "no-spaced-func": 0, | ||
"space-after-keywords": 0, | ||
// require a space before certain keywords | ||
"space-before-keywords": 0, | ||
// require or disallow space before blocks | ||
@@ -98,0 +106,0 @@ "space-before-blocks": 0, |
@@ -7,2 +7,4 @@ "use strict"; | ||
"array-bracket-spacing": 0, | ||
// disallow or enforce spaces inside of single line blocks | ||
"block-spacing": 0, | ||
// enforce one true brace style | ||
@@ -30,2 +32,4 @@ "brace-style": [2, "1tbs", { "allowSingleLine": true }], | ||
"indent": [2, 2], | ||
// specify whether double or single quotes should be used in JSX attributes | ||
"jsx-quotes": [2, "double"], | ||
// enforces spacing between keys and values in object literal properties | ||
@@ -61,2 +65,4 @@ "key-spacing": [2, { "beforeColon": false, "afterColon": true }], | ||
"no-new-object": 2, | ||
// disallow use of certain syntax in code | ||
"no-restricted-syntax": 0, | ||
// disallow space between function identifier and application | ||
@@ -96,2 +102,4 @@ "no-spaced-func": 2, | ||
"space-after-keywords": [2, "always"], | ||
// require a space before certain keywords | ||
"space-before-keywords": 0, | ||
// require or disallow space before blocks | ||
@@ -98,0 +106,0 @@ "space-before-blocks": [2, "always"], |
@@ -14,12 +14,20 @@ "use strict"; | ||
"react/display-name": 0, | ||
// Forbid certain propTypes | ||
"react/forbid-prop-types": 0, | ||
// Enforce boolean attributes notation in JSX | ||
"react/jsx-boolean-value": 2, | ||
// Validate closing bracket location in JSX | ||
"react/jsx-closing-bracket-location": 0, | ||
// Enforce or disallow spaces inside of curly braces in JSX attributes | ||
"react/jsx-curly-spacing": 0, | ||
// Validate props indentation in JSX | ||
"react/jsx-indent-props": 0, | ||
// Limit maximum of props on a single line in JSX | ||
"react/jsx-max-props-per-line": 0, | ||
// Prevent duplicate props in JSX | ||
"react/jsx-no-duplicate-props": 0, | ||
// Prevent usage of unwrapped JSX strings | ||
"react/jsx-no-literals": 0, | ||
// Disallow undeclared variables in JSX | ||
"react/jsx-no-undef": 2, | ||
// Enforce quote style for JSX attributes | ||
"react/jsx-quotes": [2, "double"], | ||
// Enforce propTypes declarations alphabetical sorting | ||
@@ -39,4 +47,8 @@ "react/jsx-sort-prop-types": 0, | ||
"react/no-did-update-set-state": 2, | ||
// Prevent direct mutation of this.state | ||
"react/no-direct-mutation-state": 0, | ||
// Prevent multiple component definition per file | ||
"react/no-multi-comp": 2, | ||
// Prevent usage of setState | ||
"react/no-set-state": 0, | ||
// Prevent usage of unknown DOM property | ||
@@ -43,0 +55,0 @@ "react/no-unknown-property": 2, |
@@ -13,12 +13,20 @@ "use strict"; | ||
"react/display-name": 0, | ||
// Forbid certain propTypes | ||
"react/forbid-prop-types": 0, | ||
// Enforce boolean attributes notation in JSX | ||
"react/jsx-boolean-value": 0, | ||
// Validate closing bracket location in JSX | ||
"react/jsx-closing-bracket-location": 0, | ||
// Enforce or disallow spaces inside of curly braces in JSX attributes | ||
"react/jsx-curly-spacing": 0, | ||
// Validate props indentation in JSX | ||
"react/jsx-indent-props": 0, | ||
// Limit maximum of props on a single line in JSX | ||
"react/jsx-max-props-per-line": 0, | ||
// Prevent duplicate props in JSX | ||
"react/jsx-no-duplicate-props": 0, | ||
// Prevent usage of unwrapped JSX strings | ||
"react/jsx-no-literals": 0, | ||
// Disallow undeclared variables in JSX | ||
"react/jsx-no-undef": 0, | ||
// Enforce quote style for JSX attributes | ||
"react/jsx-quotes": 0, | ||
// Enforce propTypes declarations alphabetical sorting | ||
@@ -38,4 +46,8 @@ "react/jsx-sort-prop-types": 0, | ||
"react/no-did-update-set-state": 0, | ||
// Prevent direct mutation of this.state | ||
"react/no-direct-mutation-state": 0, | ||
// Prevent multiple component definition per file | ||
"react/no-multi-comp": 0, | ||
// Prevent usage of setState | ||
"react/no-set-state": 0, | ||
// Prevent usage of unknown DOM property | ||
@@ -42,0 +54,0 @@ "react/no-unknown-property": 0, |
@@ -14,12 +14,20 @@ "use strict"; | ||
"react/display-name": 0, | ||
// Forbid certain propTypes | ||
"react/forbid-prop-types": 0, | ||
// Enforce boolean attributes notation in JSX | ||
"react/jsx-boolean-value": 2, | ||
// Validate closing bracket location in JSX | ||
"react/jsx-closing-bracket-location": [2, 'tag-aligned'], | ||
// Enforce or disallow spaces inside of curly braces in JSX attributes | ||
"react/jsx-curly-spacing": 0, | ||
// Validate props indentation in JSX | ||
"react/jsx-indent-props": [2, 2], | ||
// Limit maximum of props on a single line in JSX | ||
"react/jsx-max-props-per-line": 0, | ||
// Prevent duplicate props in JSX | ||
"react/jsx-no-duplicate-props": 0, | ||
// Prevent usage of unwrapped JSX strings | ||
"react/jsx-no-literals": 0, | ||
// Disallow undeclared variables in JSX | ||
"react/jsx-no-undef": 2, | ||
// Enforce quote style for JSX attributes | ||
"react/jsx-quotes": 2, | ||
// Enforce propTypes declarations alphabetical sorting | ||
@@ -39,4 +47,8 @@ "react/jsx-sort-prop-types": 0, | ||
"react/no-did-update-set-state": 2, | ||
// Prevent direct mutation of this.state | ||
"react/no-direct-mutation-state": 2, | ||
// Prevent multiple component definition per file | ||
"react/no-multi-comp": 0, | ||
// Prevent usage of setState | ||
"react/no-set-state": 0, | ||
// Prevent usage of unknown DOM property | ||
@@ -43,0 +55,0 @@ "react/no-unknown-property": 2, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
103633
2511
0