Skip to content

Commit 820ccf7

Browse files
committed
[eslint config] [*] [tests] use eclint instead of editorconfig-tools
1 parent 792bb56 commit 820ccf7

5 files changed

Lines changed: 10 additions & 13 deletions

File tree

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ trim_trailing_whitespace = true
88
insert_final_newline = true
99
end_of_line = lf
1010
# editorconfig-tools is unable to ignore longs strings or urls
11-
max_line_length = null
11+
max_line_length = off
12+
13+
[CHANGELOG.md]
14+
indent_size = false

packages/eslint-config-airbnb-base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Airbnb's base JS ESLint config, following our styleguide",
55
"main": "index.js",
66
"scripts": {
7-
"prelint": "editorconfig-tools check * rules/* test/*",
7+
"prelint": "eclint check * rules/* test/*",
88
"lint": "eslint --report-unused-disable-directives .",
99
"pretests-only": "node ./test/requires",
1010
"tests-only": "babel-tape-runner ./test/test-*.js",
@@ -55,7 +55,7 @@
5555
"devDependencies": {
5656
"babel-preset-airbnb": "^2.6.0",
5757
"babel-tape-runner": "^2.0.1",
58-
"editorconfig-tools": "^0.1.1",
58+
"eclint": "^2.8.1",
5959
"eslint": "^4.19.1 || ^5.3.0",
6060
"eslint-find-rules": "^3.4.0",
6161
"eslint-plugin-import": "^2.18.2",

packages/eslint-config-airbnb-base/test/requires.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/* eslint
2-
strict: 0,
3-
global-require: 0,
4-
*/
1+
/* eslint strict: 0, global-require: 0 */
52

63
'use strict';
74

packages/eslint-config-airbnb/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Airbnb's ESLint config, following our styleguide",
55
"main": "index.js",
66
"scripts": {
7-
"prelint": "editorconfig-tools check * rules/* test/*",
7+
"prelint": "eclint check * rules/* test/*",
88
"lint": "eslint .",
99
"pretests-only": "node ./test/requires",
1010
"tests-only": "babel-tape-runner ./test/test-*.js",
@@ -61,7 +61,7 @@
6161
"devDependencies": {
6262
"babel-preset-airbnb": "^2.6.0",
6363
"babel-tape-runner": "^2.0.1",
64-
"editorconfig-tools": "^0.1.1",
64+
"eclint": "^2.8.1",
6565
"eslint": "^4.19.1 || ^5.3.0",
6666
"eslint-find-rules": "^3.4.0",
6767
"eslint-plugin-import": "^2.18.2",

packages/eslint-config-airbnb/test/requires.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/* eslint
2-
strict: 0,
3-
global-require: 0,
4-
*/
1+
/* eslint strict: 0, global-require: 0 */
52

63
'use strict';
74

0 commit comments

Comments
 (0)