]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove coffeelint usage
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 12 Jan 2016 00:44:01 +0000 (16:44 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Wed, 13 Jan 2016 00:24:06 +0000 (16:24 -0800)
script/cibuild
script/coffeelint.json [deleted file]
script/coffeelint.py [deleted file]

index c0798dc7e2c3ccd818bd2529765382cd6b02493d..1273945409e44af7f3291c372bc8c41b5e58d619 100755 (executable)
@@ -65,7 +65,6 @@ def main():
   run_script('cpplint.py')
   if PLATFORM != 'win32':
     run_script('pylint.py')
-  run_script('coffeelint.py')
   if is_release:
     run_script('build.py', ['-c', 'R'])
     run_script('create-dist.py')
diff --git a/script/coffeelint.json b/script/coffeelint.json
deleted file mode 100644 (file)
index cc06d0d..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-    "max_line_length": {
-        "value": 80,
-        "level": "ignore"
-    }
-}
diff --git a/script/coffeelint.py b/script/coffeelint.py
deleted file mode 100755 (executable)
index 29f60f9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-import glob
-import os
-import sys
-
-from lib.util import execute
-
-
-SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
-
-
-def main():
-  os.chdir(SOURCE_ROOT)
-
-  coffeelint = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'coffeelint')
-  if sys.platform in ['win32', 'cygwin']:
-    coffeelint += '.cmd'
-  settings = ['--quiet', '-f', os.path.join('script', 'coffeelint.json')]
-  files = glob.glob('atom/browser/api/lib/*.coffee') + \
-          glob.glob('atom/renderer/api/lib/*.coffee') + \
-          glob.glob('atom/common/api/lib/*.coffee') + \
-          glob.glob('atom/browser/atom/*.coffee')
-
-  execute([coffeelint] + settings + files)
-
-if __name__ == '__main__':
-  sys.exit(main())