diff --git a/.eslintrc b/.eslintrc index 4b20882..c71c15e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -20,7 +20,8 @@ rules: - never max-len: - error - - 120 + - code: 120 + ignoreStrings: true comma-style: - off - first diff --git a/package.json b/package.json index 695f91a..64f6041 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tableschema", - "version": "1.5.0", + "version": "1.5.1", "description": "A library for working with Table Schema in Javascript.", "license": "MIT", "main": "lib/index.js", diff --git a/test/table.js b/test/table.js index b67f42b..91e10b0 100644 --- a/test/table.js +++ b/test/table.js @@ -181,7 +181,7 @@ describe('Table', () => { assert.deepEqual(rows, [['1', '39', 'Paul'], ['2', '23', 'Jimmy']]) }) - it('should use utf-8 by default for remote resource', async function() { + it('should use utf-8 by default for remote resource', async () => { const table = await Table.load('https://raw.githubusercontent.com/frictionlessdata/tableschema-js/master/data/data_infer.csv') const rows = await table.read({limit: 2}) assert.deepEqual(rows, [['1', '39', 'Paul'], ['2', '23', 'Jimmy']]) @@ -201,7 +201,7 @@ describe('Table', () => { assert.deepEqual(rows, [['1', 'english'], ['2', '©']]) }) - it.skip('should support user-defined encoding for remote resource', async function() { + it.skip('should support user-defined encoding for remote resource', async () => { const table = await Table.load('https://raw.githubusercontent.com/frictionlessdata/tableschema-js/master/data/latin1.csv', {encoding: 'latin1'}) const rows = await table.read({limit: 2}) assert.deepEqual(rows, [['1', 'english'], ['2', '©']])