eslint-config-teselagen 6.0.3 → 6.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/cypress.js +8 -13
  2. package/es5.js +38 -38
  3. package/node.js +1 -1
  4. package/package.json +2 -2
package/cypress.js CHANGED
@@ -1,17 +1,12 @@
1
1
  require("@rushstack/eslint-patch/modern-module-resolution");
2
2
 
3
3
  module.exports = {
4
- "plugins": [
5
- "cypress",
6
- "no-only-tests"
7
- ],
8
- "extends": [
9
- "plugin:cypress/recommended"
10
- ],
11
- "env": {
12
- "cypress/globals": true
4
+ plugins: ["cypress", "no-only-tests"],
5
+ extends: ["plugin:cypress/recommended"],
6
+ env: {
7
+ "cypress/globals": true,
13
8
  },
14
- "rules": {
15
- "no-only-tests/no-only-tests": 1
16
- }
17
- }
9
+ rules: {
10
+ "no-only-tests/no-only-tests": [1, { fix: true }],
11
+ },
12
+ };
package/es5.js CHANGED
@@ -1,39 +1,39 @@
1
1
  module.exports = {
2
- "env": {
3
- "node": true,
4
- "browser": true,
5
- "mocha": true
6
- },
7
- "parser": "babel-eslint",
8
- "rules": {
9
- "import/no-anonymous-default-export": 0,
10
- "no-undef": 2,
11
- 'no-console': [1, { allow: ['warn', 'error', "info"] }],
12
- "no-unused-vars": 1,
13
- "no-redeclare": 2,
14
- "comma-dangle": 0,
15
- "no-mixed-spaces-and-tabs": 0,
16
- "indent": [0, "tab"],
17
- "quotes": [0, "double"],
18
- "linebreak-style": [0, "unix"],
19
- "semi": [0, "always"],
20
- "no-var": 2,
21
- "no-debugger": 2,
22
- "no-empty": [2],
23
- "no-extra-boolean-cast": 2,
24
- "no-extra-semi": 1,
25
- "no-inner-declarations": [2, "functions"],
26
- "no-unneeded-ternary": 1,
27
- "no-unsafe-negation": 2,
28
- "import/no-unresolved": 2,
29
- "import/named": 2,
30
- "import/default": 2,
31
- "object-shorthand": 0,
32
- "no-else-return": 0,
33
- "react/jsx-no-bind": 1,
34
- "react/jsx-boolean-value": 0,
35
- "react/jsx-key": 2,
36
- "jsx-a11y/href-no-hash": 0
37
- }
38
-
39
- };
2
+ "env": {
3
+ "node": true,
4
+ "browser": true,
5
+ "mocha": true
6
+ },
7
+ "parser": "babel-eslint",
8
+ "rules": {
9
+ "import/no-anonymous-default-export": 0,
10
+ "no-undef": 2,
11
+ 'no-console': [1, { allow: ['warn', 'error', "info"] }],
12
+ "no-unused-vars": 1,
13
+ "no-redeclare": 2,
14
+ "comma-dangle": 0,
15
+ "no-mixed-spaces-and-tabs": 0,
16
+ "indent": [0, "tab"],
17
+ "quotes": [0, "double"],
18
+ "linebreak-style": [0, "unix"],
19
+ "semi": [0, "always"],
20
+ "no-var": 2,
21
+ "no-debugger": 2,
22
+ "no-empty": [2],
23
+ "no-extra-boolean-cast": 2,
24
+ "no-extra-semi": 1,
25
+ "no-inner-declarations": [2, "functions"],
26
+ "no-unneeded-ternary": 1,
27
+ "no-unsafe-negation": 2,
28
+ "import/no-unresolved": 2,
29
+ "import/named": 2,
30
+ "import/default": 2,
31
+ "object-shorthand": 0,
32
+ "no-else-return": 0,
33
+ "react/jsx-no-bind": 1,
34
+ "react/jsx-boolean-value": 0,
35
+ "react/jsx-key": 2,
36
+ "jsx-a11y/href-no-hash": 0
37
+ }
38
+
39
+ };
package/node.js CHANGED
@@ -29,4 +29,4 @@ module.exports = {
29
29
  "import/default": 2,
30
30
  "prefer-const": [1, { destructuring: "all" }],
31
31
  },
32
- };
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-teselagen",
3
- "version": "6.0.3",
3
+ "version": "6.0.6",
4
4
  "description": "teselagen linter rules",
5
5
  "repository": "https://github.com/TeselaGen/eslint-config-teselagen.git",
6
6
  "author": "teselagen team@teselagen",
@@ -19,7 +19,7 @@
19
19
  "eslint-plugin-flowtype": "^5.2.0",
20
20
  "eslint-plugin-import": "^2.22.0",
21
21
  "eslint-plugin-jsx-a11y": "^6.3.1",
22
- "eslint-plugin-no-only-tests": "^2.6.0",
22
+ "eslint-plugin-no-only-tests": "^3.0.0",
23
23
  "eslint-plugin-react": "^7.20.3",
24
24
  "eslint-plugin-react-app": "^6.2.2",
25
25
  "eslint-plugin-react-hooks": "^4.0.8"