Skip to content

Commit

Permalink
fix: revert previous linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnflank committed Sep 20, 2021
1 parent b5b6c65 commit 73548ea
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
es2020: true,
"jest/globals": true
},
parser: "@babel/eslint-parser",
settings: {
jest: {
version: "27"
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"proxy": "https://canaries.canary.lab.flanksource.com",
"scripts": {
"dev": "cross-env NODE_ENV=development craco start",
"dev": "cross-env DISABLE_ESLINT_PLUGIN=true NODE_ENV=development craco start",
"build": "cross-env DISABLE_ESLINT_PLUGIN=true NODE_ENV=production craco build",
"compile": "cross-env NODE_ENV=production babel src --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
"test": "craco test --transformIgnorePatterns \"node_modules/(?!(history))/\"",
Expand All @@ -57,7 +57,6 @@
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/eslint-parser": "^7.15.4",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"autoprefixer": "^9.8.6",
Expand Down
1 change: 0 additions & 1 deletion src/components/Icon/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line import/named
import { Icons } from "../../icons";

export function Icon({ size = "sm", name, className, alt = "", ...props }) {
Expand Down
1 change: 0 additions & 1 deletion src/icons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ define VARS
done
endef
index.js:
echo "/* eslint-disable */" > index.js
echo "// this file is generated using make index.js" > index.js
$(call IMPORTS) >> index.js
@echo "export const Icons = {" >> index.js
Expand Down
1 change: 0 additions & 1 deletion src/icons/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
// this file is generated using make index.js
import acr from "./acr.svg";
import aks from "./aks.svg";
Expand Down

0 comments on commit 73548ea

Please sign in to comment.