[eslint config] [*] [tests] use eclint instead of editorconfig-tools

This commit is contained in:
Jordan Harband
2019-08-09 14:06:58 -07:00
parent 792bb567e5
commit 820ccf7652
5 changed files with 10 additions and 13 deletions

View File

@@ -8,4 +8,7 @@ trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# editorconfig-tools is unable to ignore longs strings or urls
max_line_length = null
max_line_length = off
[CHANGELOG.md]
indent_size = false

View File

@@ -4,7 +4,7 @@
"description": "Airbnb's base JS ESLint config, following our styleguide",
"main": "index.js",
"scripts": {
"prelint": "editorconfig-tools check * rules/* test/*",
"prelint": "eclint check * rules/* test/*",
"lint": "eslint --report-unused-disable-directives .",
"pretests-only": "node ./test/requires",
"tests-only": "babel-tape-runner ./test/test-*.js",
@@ -55,7 +55,7 @@
"devDependencies": {
"babel-preset-airbnb": "^2.6.0",
"babel-tape-runner": "^2.0.1",
"editorconfig-tools": "^0.1.1",
"eclint": "^2.8.1",
"eslint": "^4.19.1 || ^5.3.0",
"eslint-find-rules": "^3.4.0",
"eslint-plugin-import": "^2.18.2",

View File

@@ -1,7 +1,4 @@
/* eslint
strict: 0,
global-require: 0,
*/
/* eslint strict: 0, global-require: 0 */
'use strict';

View File

@@ -4,7 +4,7 @@
"description": "Airbnb's ESLint config, following our styleguide",
"main": "index.js",
"scripts": {
"prelint": "editorconfig-tools check * rules/* test/*",
"prelint": "eclint check * rules/* test/*",
"lint": "eslint .",
"pretests-only": "node ./test/requires",
"tests-only": "babel-tape-runner ./test/test-*.js",
@@ -61,7 +61,7 @@
"devDependencies": {
"babel-preset-airbnb": "^2.6.0",
"babel-tape-runner": "^2.0.1",
"editorconfig-tools": "^0.1.1",
"eclint": "^2.8.1",
"eslint": "^4.19.1 || ^5.3.0",
"eslint-find-rules": "^3.4.0",
"eslint-plugin-import": "^2.18.2",

View File

@@ -1,7 +1,4 @@
/* eslint
strict: 0,
global-require: 0,
*/
/* eslint strict: 0, global-require: 0 */
'use strict';