mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-09 17:38:14 -05:00
[eslint config] [*] [tests] use eclint instead of editorconfig-tools
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/* eslint
|
||||
strict: 0,
|
||||
global-require: 0,
|
||||
*/
|
||||
/* eslint strict: 0, global-require: 0 */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/* eslint
|
||||
strict: 0,
|
||||
global-require: 0,
|
||||
*/
|
||||
/* eslint strict: 0, global-require: 0 */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user