Skip to content

Commit

Permalink
chore: upgrade eslint-config-adslot to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bchew committed Apr 14, 2021
1 parent d38a77f commit 2d906ef
Show file tree
Hide file tree
Showing 9 changed files with 729 additions and 369 deletions.
5 changes: 5 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"settings": {
"lodash": {
"version": 4
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
},
"rules": {
Expand Down
2 changes: 0 additions & 2 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ module.exports = {
extensions: ['.js', '.json', '.jsx'],

alias: {
'adslot-ui': `${paths.appSrc}`,
lib: `${paths.appSrc}/lib/`,
styles: `${paths.appSrc}/styles/`,
},
},
Expand Down
1,077 changes: 717 additions & 360 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^6.8.0",
"eslint-config-adslot": "^1.0.0",
"eslint-config-adslot": "^1.0.2",
"eslint-loader": "^4.0.2",
"eslint-plugin-jest-dom": "^2.1.0",
"file-loader": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Modal from 'react-bootstrap/lib/Modal';
import OverlayTrigger from 'react-bootstrap/lib/OverlayTrigger';
import ProgressBar from 'react-bootstrap/lib/ProgressBar';

import 'styles/_bootstrap-custom.scss';
import 'styles/_icheck-custom.scss';
import './styles/_bootstrap-custom.scss';
import './styles/_icheck-custom.scss';

import Button from './components/Button';
import Popover from './components/Popover';
Expand Down
2 changes: 1 addition & 1 deletion www/containers/DesignNotes.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { InformationBox } from 'adslot-ui';
import { InformationBox } from '../../src';

function DesignNotes({ children }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion www/containers/NotFound.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { SvgSymbol } from 'adslot-ui';
import { Link } from 'react-router-dom';
import { SvgSymbol } from '../../src';

const NotFound = () => (
<div className="page-not-found">
Expand Down
2 changes: 1 addition & 1 deletion www/containers/components/SearchBar/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Search } from 'adslot-ui';
import { Search } from '../../../../src';
import './styles.scss';

const SearchBarComponent = ({ onSearch }) => (
Expand Down
2 changes: 1 addition & 1 deletion www/examples/Introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { InformationBox, SvgSymbol } from 'adslot-ui';
import { Link } from 'react-router-dom';
import { InformationBox, SvgSymbol } from '../../src';

<div>
<img src="./assets/banner.jpg" style={{ maxWidth: '100%' }} />
Expand Down

0 comments on commit 2d906ef

Please sign in to comment.