Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: Remove .ts suffix from NVD3 imports (#453)
Browse files Browse the repository at this point in the history
* fix: Remove .ts suffix from imports

* add lint disable

* yet more
  • Loading branch information
villebro committed May 7, 2020
1 parent af8722d commit b80372d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/legacy-preset-chart-nvd3/src/transformProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* under the License.
*/
import isTruthy from './utils/isTruthy';
import { tokenizeToNumericArray, tokenizeToStringArray } from './utils/tokenize.ts';
// eslint-disable-next-line import/extensions
import { tokenizeToNumericArray, tokenizeToStringArray } from './utils/tokenize';
import { formatLabel } from './utils';

const NOOP = () => {};
Expand Down
3 changes: 2 additions & 1 deletion plugins/legacy-preset-chart-nvd3/test/utils/tokenize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { tokenizeToNumericArray, tokenizeToStringArray } from '../../src/utils/tokenize.ts';
// eslint-disable-next-line import/extensions
import { tokenizeToNumericArray, tokenizeToStringArray } from '../../src/utils/tokenize';

describe('tokenizeToNumericArray', () => {
it('evals numeric strings properly', () => {
Expand Down

1 comment on commit b80372d

@vercel
Copy link

@vercel vercel bot commented on b80372d May 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.