Skip to content

Commit

Permalink
chore: 🔥 remove flow annotations and rules
Browse files Browse the repository at this point in the history
i don't use flow anymore so i removed it
  • Loading branch information
nnmrts committed Jun 18, 2020
1 parent d2a9ed2 commit 7d4e075
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 87 deletions.
4 changes: 1 addition & 3 deletions .eslintrc
Expand Up @@ -7,11 +7,9 @@
{
"files": ["**/**.js"],
"rules": {
"flowtype/require-return-type": "off",
"flowtype/require-parameter-type": "off",
"import/no-commonjs": "off",
"import/no-unused-modules": "off"
}
}
]
}
}
23 changes: 0 additions & 23 deletions .flowconfig

This file was deleted.

3 changes: 0 additions & 3 deletions index.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
env: {
browser: true,
Expand All @@ -10,7 +8,6 @@ module.exports = {
"./rules/compat.js",
"./rules/errors.js",
"./rules/es6.js",
"./rules/flow.js",
"./rules/imports.js",
"./rules/jsdoc.js",
"./rules/node.js",
Expand Down
2 changes: 0 additions & 2 deletions rules/best-practices.js
@@ -1,5 +1,3 @@
// @flow

const maxComplexity = 15;

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion rules/compat.js
@@ -1,4 +1,3 @@
// @flow
module.exports = {
plugins: ["compat"],
rules: {
Expand Down
2 changes: 0 additions & 2 deletions rules/errors.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
rules: {
"for-direction": "error",
Expand Down
2 changes: 0 additions & 2 deletions rules/es6.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
env: {
es6: true
Expand Down
41 changes: 0 additions & 41 deletions rules/flow.js

This file was deleted.

2 changes: 0 additions & 2 deletions rules/imports.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
env: {
es6: true
Expand Down
2 changes: 0 additions & 2 deletions rules/jsdoc.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
plugins: ["jsdoc"],
rules: {
Expand Down
2 changes: 0 additions & 2 deletions rules/node.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
env: {
node: true
Expand Down
2 changes: 0 additions & 2 deletions rules/strict.js
@@ -1,5 +1,3 @@
// @flow

module.exports = {
rules: {
strict: ["error", "never"]
Expand Down
1 change: 0 additions & 1 deletion rules/style.js
@@ -1,4 +1,3 @@
// @flow
const maxDepth = 10;
const maxNestedCallbacks = 10;
const maxParams = 6;
Expand Down
1 change: 0 additions & 1 deletion rules/variables.js
@@ -1,4 +1,3 @@
// @flow
const confusingBrowserGlobals = require("confusing-browser-globals");

module.exports = {
Expand Down

0 comments on commit 7d4e075

Please sign in to comment.